Skip to content
Snippets Groups Projects
Verified Commit 2524115f authored by Eduardo Trujillo's avatar Eduardo Trujillo
Browse files

refactor(config): Remove unused error types

parent a69e0252
No related branches found
No related tags found
No related merge requests found
......@@ -15,20 +15,6 @@ use crate::str::to_train_case;
#[derive(Error, Debug)]
pub enum ConfigError {
/// The configuration file could not be found or read.
#[error("Could not open config from {}: {source:?}", path.display())]
OpenConfig {
path: PathBuf,
#[source]
source: std::io::Error,
},
/// The configuration file could not be parsed or deserialized.
#[error("Could not deserialize config from {}: {source:?}", path.display())]
DeserializeConfig {
path: PathBuf,
#[source]
source: toml::de::Error,
},
/// The current directory could not be determined.
#[error("Unable to determine the current directory.")]
GetCurrentDir {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment