Add error kinds for config override errors
This commit is contained in:
parent
a1979b1235
commit
d1728a6aa3
1 changed files with 6 additions and 1 deletions
|
@ -6,7 +6,12 @@ use toml::{Parser, Value};
|
||||||
|
|
||||||
generate_error_module!(
|
generate_error_module!(
|
||||||
generate_error_types!(ConfigError, ConfigErrorKind,
|
generate_error_types!(ConfigError, ConfigErrorKind,
|
||||||
NoConfigFileFound => "No config file found"
|
NoConfigFileFound => "No config file found",
|
||||||
|
|
||||||
|
ConfigOverrideError => "Config override error",
|
||||||
|
ConfigOverrideKeyNotAvailable => "Key not available",
|
||||||
|
ConfigOverrideTypeNotMatching => "Configuration Type not matching"
|
||||||
|
|
||||||
);
|
);
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue