diff options
author | Toby Vincent <tobyv13@gmail.com> | 2022-11-17 23:12:10 -0600 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2022-11-17 23:12:10 -0600 |
commit | 09be0362d42034e343b64de08618c995b63c90fe (patch) | |
tree | 23f44d4e36cd767ea86f524db6016d64819eaf9b /src/paths/error.rs | |
parent | 082d11db68efa63f6da1be29cc9dc95b8f9e1735 (diff) |
feat: get intitial finder working
Diffstat (limited to 'src/paths/error.rs')
-rw-r--r-- | src/paths/error.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/paths/error.rs b/src/paths/error.rs index 08fdc89..3a5a580 100644 --- a/src/paths/error.rs +++ b/src/paths/error.rs @@ -1,5 +1,10 @@ +pub type Result<T> = std::result::Result<T, Error>; + #[derive(thiserror::Error, Debug)] pub enum Error { + #[error("Config error: {0}")] + Config(#[from] figment::error::Error), + #[error("Ignore error: {0}")] Ignore(#[from] ignore::Error), } |