diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-10-06 17:21:49 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-06 17:21:49 +0800 |
| commit | c1d862d6df58173c24604e4dda33db8ce3be3ad7 (patch) | |
| tree | 171ecf07053748ce7493efaeff5eefbc8645b2cb /crates/utils | |
| parent | 66a32a8584cf34a881ec45f47d379fb3b1637033 (diff) | |
| parent | e12f167de8e16baa78c86b09eab75201281d3f95 (diff) | |
Merge pull request #19 from JustEnoughVCS/jvcs_dev
Jvcs dev
Diffstat (limited to 'crates/utils')
| -rw-r--r-- | crates/utils/tcp_connection/src/error.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/utils/tcp_connection/src/error.rs b/crates/utils/tcp_connection/src/error.rs index ffcce6f..691e5ee 100644 --- a/crates/utils/tcp_connection/src/error.rs +++ b/crates/utils/tcp_connection/src/error.rs @@ -35,6 +35,12 @@ pub enum TcpTargetError { #[error("Pool already exists: {0}")] PoolAlreadyExists(String), + + #[error("Not local machine: {0}")] + NotLocal(String), + + #[error("Not remote machine: {0}")] + NotRemote(String), } impl From<io::Error> for TcpTargetError { |
