diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-10-27 17:47:42 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-10-27 17:47:42 +0800 |
| commit | cab9c998bcb2a6ea4ee51ff39d708ac6755dcb75 (patch) | |
| tree | ddb23194e82c2bd233c59c134f92243b55dcbb46 /crates | |
| parent | 3aafc7f2769284c3afab4157863e93e44c571040 (diff) | |
update: Add error type - Locked
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/utils/tcp_connection/src/error.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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<io::Error> for TcpTargetError { |
