summaryrefslogtreecommitdiffstats
path: root/src/errors.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/errors.rs')
-rw-r--r--src/errors.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/errors.rs b/src/errors.rs
index a182ff6..a02836a 100644
--- a/src/errors.rs
+++ b/src/errors.rs
@@ -14,10 +14,14 @@ pub enum Error {
SerdeJsonError(SerdeError),
Hyper(hyper::Error),
Http(hyper::http::Error),
+ #[allow(clippy::upper_case_acronyms)]
IO(IoError),
Encoding(FromUtf8Error),
InvalidResponse(String),
- Fault { code: StatusCode, message: String },
+ Fault {
+ code: StatusCode,
+ message: String,
+ },
ConnectionNotUpgraded,
}