summaryrefslogtreecommitdiff
path: root/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/error.rs b/src/error.rs
index f15c60a..531528f 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -11,11 +11,11 @@ pub enum CliError {
11impl Debug for CliError { 11impl Debug for CliError {
12 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { 12 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
13 match self { 13 match self {
14 Self::Reqwest(err) => { err.fmt(f) }, 14 Self::Reqwest(err) => err.fmt(f),
15 Self::Config(err) => { err.fmt(f) }, 15 Self::Config(err) => err.fmt(f),
16 Self::Serde(err) => { err.fmt(f) }, 16 Self::Serde(err) => err.fmt(f),
17 Self::Parse(err) => { err.fmt(f) }, 17 Self::Parse(err) => err.fmt(f),
18 Self::WsResponse => { f.write_str("Error in Response") }, 18 Self::WsResponse => f.write_str("Error in Response"),
19 } 19 }
20 } 20 }
21} 21}