diff --git a/src/client/connection/response/input/error.rs b/src/client/connection/response/input/error.rs index bcb7f8a..6763727 100644 --- a/src/client/connection/response/input/error.rs +++ b/src/client/connection/response/input/error.rs @@ -4,7 +4,6 @@ use std::fmt::{Display, Formatter, Result}; pub enum Error { Default(super::default::Error), FirstByte(u8), - Protocol, SecondByte(u8), Sensitive(super::sensitive::Error), UndefinedFirstByte, @@ -20,9 +19,6 @@ impl Display for Error { Self::FirstByte(b) => { write!(f, "Unexpected first byte: {b}") } - Self::Protocol => { - write!(f, "Protocol error") - } Self::SecondByte(b) => { write!(f, "Unexpected second byte: {b}") }