diff options
Diffstat (limited to 'src/configuration/error.rs')
-rw-r--r-- | src/configuration/error.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/configuration/error.rs b/src/configuration/error.rs index b7d7bb0..fca194f 100644 --- a/src/configuration/error.rs +++ b/src/configuration/error.rs @@ -3,7 +3,6 @@ use std::fmt; #[derive(Debug)] pub enum ConfigError { - NoSuchPeer, NotListening, FailedToBind, InvalidHexValue, @@ -40,7 +39,6 @@ impl ConfigError { pub fn errno(&self) -> i32 { // TODO: obtain the correct errorno values match self { - ConfigError::NoSuchPeer => 1, ConfigError::NotListening => 2, ConfigError::FailedToBind => 3, ConfigError::InvalidHexValue => 4, |