diff --git a/src/error.rs b/src/error.rs index 5e2293a..5d7b84f 100644 --- a/src/error.rs +++ b/src/error.rs @@ -3,7 +3,6 @@ use std::io; #[derive(Debug)] pub enum AgentError { - User, Proto(ProtoError), IO(io::Error), } @@ -23,7 +22,6 @@ impl From for AgentError { impl std::fmt::Display for AgentError { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { match self { - AgentError::User => write!(f, "Agent: User error"), AgentError::Proto(proto) => write!(f, "Agent: Protocol error: {}", proto), AgentError::IO(error) => write!(f, "Agent: I/O error: {}", error), }