improved error message

This commit is contained in:
jannikac 2023-02-04 15:30:07 +01:00
parent 0d1e8fe1ae
commit dee015f346
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ pub enum ConfigError {
Io(#[from] io::Error),
#[error("Failed to parse config file: {0}")]
Parse(#[from] toml::de::Error),
#[error("Entry {0} has invalid type {1}")]
#[error("Entry '{0}' has invalid type '{1}'")]
Validation(String, String),
#[error("Can't find config directory")]
ConfigNotFound(),