aboutsummaryrefslogtreecommitdiff
path: root/bin/src/err.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/src/err.rs')
-rw-r--r--bin/src/err.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/src/err.rs b/bin/src/err.rs
index f44d27b..8124c1f 100644
--- a/bin/src/err.rs
+++ b/bin/src/err.rs
@@ -1,7 +1,5 @@
1use std::io; 1use std::io;
2 2
3// use globset::ErrorKind;
4// use rnix::parser::ParseError;
5use thiserror::Error; 3use thiserror::Error;
6 4
7#[derive(Error, Debug)] 5#[derive(Error, Debug)]
@@ -14,8 +12,10 @@ pub enum ConfigErr {
14 InvalidPosition(String), 12 InvalidPosition(String),
15 #[error("unable to parse `{0}` as warning code")] 13 #[error("unable to parse `{0}` as warning code")]
16 InvalidWarningCode(String), 14 InvalidWarningCode(String),
17 #[error("unable to parse config file, error at: `{0}`")] 15 #[error("unable to parse config file: {0}")]
18 ConfFileParse(String), 16 ConfFileParse(toml::de::Error),
17 #[error("unable to parse nix version: `{0}`")]
18 ConfFileVersionParse(String),
19} 19}
20 20
21// #[derive(Error, Debug)] 21// #[derive(Error, Debug)]