summaryrefslogtreecommitdiff
path: root/src/err.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/err.rs')
-rw-r--r--src/err.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/err.rs b/src/err.rs
index 473dd2f..aa39ede 100644
--- a/src/err.rs
+++ b/src/err.rs
@@ -14,7 +14,6 @@ pub(crate) enum ErrorImpl {
ProcTimeout,
Status(crate::sock::ReplyLine),
Parse, // This could be more specific
- UnknownEvent(String),
Keyword(String),
}
@@ -27,7 +26,6 @@ impl std::fmt::Display for Error {
ProcTimeout => write!(f, "Timeout while waiting for Tor process to start"),
Status(s) => write!(f, "Unexpected reply ({})", s),
Parse => write!(f, "Error parsing reply"),
- UnknownEvent(s) => write!(f, "Unknown event: {}", s),
Keyword(s) => write!(f, "Invalid keyword '{}'", s),
}
}