Skip to content

Commit

Permalink
remove useless Serde error in channel module
Browse files Browse the repository at this point in the history
  • Loading branch information
Keksoj committed Feb 2, 2024
1 parent 6d43eb1 commit 39af839
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions command/src/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,9 @@ pub enum ChannelError {
NothingRead,
#[error("invalid char set in command message, ignoring: {0}")]
InvalidCharSet(String),
#[error("Error deserializing message")]
Serde(serde_json::error::Error),
#[error("could not set the timeout of the unix stream with file descriptor {fd}: {error}")]
SetTimeout { fd: i32, error: String },
#[error("Could not change the blocking status of the unix stream with file descriptor {fd}: {error}")]
#[error("Could not change the blocking status ef the unix stream with file descriptor {fd}: {error}")]
BlockingStatus { fd: i32, error: String },
#[error("Connection error: {0:?}")]
Connection(Option<std::io::Error>),
Expand Down

0 comments on commit 39af839

Please sign in to comment.