diff options
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs index d35991b..27fc7a6 100644 --- a/src/error.rs +++ b/src/error.rs | |||
@@ -4,6 +4,7 @@ pub enum CliError { | |||
4 | Reqwest(reqwest::Error), | 4 | Reqwest(reqwest::Error), |
5 | Config(config::ConfigError), | 5 | Config(config::ConfigError), |
6 | Serde(serde_json::Error), | 6 | Serde(serde_json::Error), |
7 | WsResponse, | ||
7 | } | 8 | } |
8 | 9 | ||
9 | impl Debug for CliError { | 10 | impl Debug for CliError { |
@@ -12,6 +13,7 @@ impl Debug for CliError { | |||
12 | Self::Reqwest(err) => { err.fmt(f) }, | 13 | Self::Reqwest(err) => { err.fmt(f) }, |
13 | Self::Config(err) => { err.fmt(f) }, | 14 | Self::Config(err) => { err.fmt(f) }, |
14 | Self::Serde(err) => { err.fmt(f) }, | 15 | Self::Serde(err) => { err.fmt(f) }, |
16 | Self::WsResponse => { f.write_str("Error in Response") }, | ||
15 | } | 17 | } |
16 | } | 18 | } |
17 | } | 19 | } |