summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-01-02 02:21:29 +0800
committer魏曹先生 <1992414357@qq.com>2026-01-02 02:21:29 +0800
commit8644ba2ea292ef2aa3d49976f4f3916b7ecde938 (patch)
tree440c2e14b83c8ea75ef603d6016e3dacc8e2a9ee
parenteb812c2025ec3b6ca9add98d9ebe0a73969a2fe2 (diff)
Add ReferenceSheetNotAllowed variant to TcpTargetError
-rw-r--r--crates/utils/tcp_connection/src/error.rs3
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 3667a59..32d06cc 100644
--- a/crates/utils/tcp_connection/src/error.rs
+++ b/crates/utils/tcp_connection/src/error.rs
@@ -6,6 +6,9 @@ pub enum TcpTargetError {
#[error("Authentication failed: {0}")]
Authentication(String),
+ #[error("Reference sheet not allowed: {0}")]
+ ReferenceSheetNotAllowed(String),
+
#[error("Cryptographic error: {0}")]
Crypto(String),