diff options
author | fxqnlr <[email protected]> | 2023-01-22 22:34:17 +0100 |
---|---|---|
committer | fxqnlr <[email protected]> | 2023-01-22 22:34:17 +0100 |
commit | 1890d59428dfcca861ea1b7820411d80cc60d713 (patch) | |
tree | 559a41a814a33a72ccab3640a6c81d10451f1683 /src/error.rs | |
parent | f7a6d2e9c67c1fdf8fc17fa0461a201fd2720537 (diff) | |
download | modlist-1890d59428dfcca861ea1b7820411d80cc60d713.tar modlist-1890d59428dfcca861ea1b7820411d80cc60d713.tar.gz modlist-1890d59428dfcca861ea1b7820411d80cc60d713.zip |
Added list version cmd, fixed some todos
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.rs b/src/error.rs index a1f5f2e..612a2e2 100644 --- a/src/error.rs +++ b/src/error.rs | |||
@@ -36,7 +36,7 @@ impl fmt::Display for MLError { | |||
36 | ErrorType::ArgumentError => write!(f, "User input not accepted: {}", self.message), | 36 | ErrorType::ArgumentError => write!(f, "User input not accepted: {}", self.message), |
37 | ErrorType::ArgumentCountError => write!(f, "Too many/too few arguments"), | 37 | ErrorType::ArgumentCountError => write!(f, "Too many/too few arguments"), |
38 | ErrorType::ConfigError => write!(f, "CONFIG"), | 38 | ErrorType::ConfigError => write!(f, "CONFIG"), |
39 | ErrorType::DBError => write!(f, "DATABASE"), | 39 | ErrorType::DBError => write!(f, "Database: {}", self.message), |
40 | ErrorType::ModError => write!(f, "Mod: {}", self.message), | 40 | ErrorType::ModError => write!(f, "Mod: {}", self.message), |
41 | ErrorType::LibToml => write!(f, "TOML"), | 41 | ErrorType::LibToml => write!(f, "TOML"), |
42 | ErrorType::LibSql => write!(f, "SQL"), | 42 | ErrorType::LibSql => write!(f, "SQL"), |