From cab9c998bcb2a6ea4ee51ff39d708ac6755dcb75 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 27 Oct 2025 17:47:42 +0800 Subject: update: Add error type - Locked --- crates/utils/tcp_connection/src/error.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crates/utils/tcp_connection') diff --git a/crates/utils/tcp_connection/src/error.rs b/crates/utils/tcp_connection/src/error.rs index 28e33d3..cfea060 100644 --- a/crates/utils/tcp_connection/src/error.rs +++ b/crates/utils/tcp_connection/src/error.rs @@ -44,6 +44,9 @@ pub enum TcpTargetError { #[error("Not found: {0}")] NotFound(String), + + #[error("Locked: {0}")] + Locked(String), } impl From for TcpTargetError { -- cgit