diff options
author | metamuffin <metamuffin@disroot.org> | 2024-02-18 12:47:54 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-02-18 12:47:54 +0100 |
commit | ec1648b19187d3edce40785942357fba51a3a0c0 (patch) | |
tree | 22045fd22b199b3ad63c82e68fe4675e27b96e47 /src/error.rs | |
parent | 2797c791e3c60fa060b668cecf73285f139540b6 (diff) | |
download | gnix-1.1.0.tar gnix-1.1.0.tar.bz2 gnix-1.1.0.tar.zst |
fix panic when upgrading connections incorrectlyv1.1.0
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs index b78999f..1675b3c 100644 --- a/src/error.rs +++ b/src/error.rs @@ -31,6 +31,8 @@ pub enum ServiceError { BadAuth, #[error("bad base64: {0}")] BadBase64(#[from] base64::DecodeError), + #[error("connection upgrade failed")] + UpgradeFailed, #[error("impossible error")] Other, } |