Add error kinds for config override errors

This commit is contained in:
Matthias Beyer 2016-07-24 18:04:51 +02:00
parent a1979b1235
commit d1728a6aa3

View file

@ -6,7 +6,12 @@ use toml::{Parser, Value};
generate_error_module!(
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"
);
);