diff options
author | Toby Vincent <tobyv13@gmail.com> | 2022-11-20 13:34:23 -0600 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2022-11-20 13:35:06 -0600 |
commit | 4b182e71598c2eda5190b81708bafe6f9681999b (patch) | |
tree | 7c0d906cf5fec687e2a7e551943b9277f330f085 /src/paths | |
parent | 597c19dfc08eae940a100a44a009d3169a6568f2 (diff) |
feat: improve error handling
Diffstat (limited to 'src/paths')
-rw-r--r-- | src/paths/error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/paths/error.rs b/src/paths/error.rs index 3a5a580..4300e8a 100644 --- a/src/paths/error.rs +++ b/src/paths/error.rs @@ -2,9 +2,9 @@ pub type Result<T> = std::result::Result<T, Error>; #[derive(thiserror::Error, Debug)] pub enum Error { - #[error("Config error: {0}")] + #[error(transparent)] Config(#[from] figment::error::Error), - #[error("Ignore error: {0}")] + #[error(transparent)] Ignore(#[from] ignore::Error), } |