diff options
author | FxQnLr <[email protected]> | 2024-02-25 16:14:56 +0100 |
---|---|---|
committer | FxQnLr <[email protected]> | 2024-02-25 16:14:56 +0100 |
commit | 03bea24f9de698375033af92a08762446d0e20cc (patch) | |
tree | 71b696ddcdc14f36115155be7f287fc0cb43e16d /src/error.rs | |
parent | cd73d51fba4a7d24b5ef12cb7d23054ab922cb67 (diff) | |
download | webol-cli-03bea24f9de698375033af92a08762446d0e20cc.tar webol-cli-03bea24f9de698375033af92a08762446d0e20cc.tar.gz webol-cli-03bea24f9de698375033af92a08762446d0e20cc.zip |
Closes #2. Config and setup stuff
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 10 |
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 { | |||
11 | impl Debug for CliError { | 11 | impl 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 | } |