diff options
Diffstat (limited to 'oxish-proto/src/lib.rs')
| -rw-r--r-- | oxish-proto/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/oxish-proto/src/lib.rs b/oxish-proto/src/lib.rs index 0ea304e..a67228c 100644 --- a/oxish-proto/src/lib.rs +++ b/oxish-proto/src/lib.rs @@ -635,6 +635,9 @@ pub enum ProtoError { /// current input (`required - available`). #[error("incomplete message: {0:?}")] Incomplete(Option<usize>), + /// An unknown or unsupported channel type was requested + #[error("invalid packet: {0}")] + InvalidChannelType(String), /// A host key file could not be used; the payload describes why #[error("invalid host key: {0}")] InvalidHostKey(&'static str), |
