mirror of
https://github.com/SeriousBug/gandi-live-dns-rust
synced 2024-05-18 03:09:04 -05:00
improved error message
This commit is contained in:
parent
0d1e8fe1ae
commit
dee015f346
|
@ -15,7 +15,7 @@ pub enum ConfigError {
|
||||||
Io(#[from] io::Error),
|
Io(#[from] io::Error),
|
||||||
#[error("Failed to parse config file: {0}")]
|
#[error("Failed to parse config file: {0}")]
|
||||||
Parse(#[from] toml::de::Error),
|
Parse(#[from] toml::de::Error),
|
||||||
#[error("Entry {0} has invalid type {1}")]
|
#[error("Entry '{0}' has invalid type '{1}'")]
|
||||||
Validation(String, String),
|
Validation(String, String),
|
||||||
#[error("Can't find config directory")]
|
#[error("Can't find config directory")]
|
||||||
ConfigNotFound(),
|
ConfigNotFound(),
|
||||||
|
|
Loading…
Reference in a new issue