diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-10-12 18:16:36 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-10-12 18:16:36 +0800 |
| commit | ffdc23d102faab74838a36a8044c6f11b289d760 (patch) | |
| tree | 20b986c9a79afbeb5b11dece3435e9d0fcebc5da /crates/utils | |
| parent | 19c5780c2ee4920916aa5d766e02faa27fe2af2a (diff) | |
refactor: Update action macros and error types
- Enhance action_gen macro functionality
- Add new error variants for TCP connection
Diffstat (limited to 'crates/utils')
| -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 691e5ee..28e33d3 100644 --- a/crates/utils/tcp_connection/src/error.rs +++ b/crates/utils/tcp_connection/src/error.rs @@ -41,6 +41,9 @@ pub enum TcpTargetError { #[error("Not remote machine: {0}")] NotRemote(String), + + #[error("Not found: {0}")] + NotFound(String), } impl From<io::Error> for TcpTargetError { |
