aboutsummaryrefslogtreecommitdiff
path: root/bin/src/err.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-11-20 13:26:26 +0000
committerAkshay <[email protected]>2021-11-28 07:55:23 +0000
commit2b6012a79cb092e5d88c050cb494057efef28fc2 (patch)
treecd31973c32431a5cbf8c12ce574f799d065852be /bin/src/err.rs
parent4e063b2abc402ac4d6902647e821978269025c7d (diff)
introduce --config flag
Diffstat (limited to 'bin/src/err.rs')
-rw-r--r--bin/src/err.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/src/err.rs b/bin/src/err.rs
index b776d9f..f44d27b 100644
--- a/bin/src/err.rs
+++ b/bin/src/err.rs
@@ -14,6 +14,8 @@ pub enum ConfigErr {
14 InvalidPosition(String), 14 InvalidPosition(String),
15 #[error("unable to parse `{0}` as warning code")] 15 #[error("unable to parse `{0}` as warning code")]
16 InvalidWarningCode(String), 16 InvalidWarningCode(String),
17 #[error("unable to parse config file, error at: `{0}`")]
18 ConfFileParse(String),
17} 19}
18 20
19// #[derive(Error, Debug)] 21// #[derive(Error, Debug)]