summaryrefslogtreecommitdiffstats
path: root/src/error.rs
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-11-01 17:48:54 -0500
committerToby Vincent <tobyv13@gmail.com>2022-11-01 17:48:54 -0500
commit1334d9f1d08a27ea7fa4cd4228ac1fdf44bdd552 (patch)
tree78582f51069b7e40691e3aea78c7a93441098056 /src/error.rs
parent698d811059ebb6787305e8293a77837323fc9311 (diff)
feat: impl ignore crate to walk directories
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
index e423493..5b0fea8 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -7,4 +7,13 @@ pub enum Error {
#[error("Config error: {0:?}")]
Config(#[from] figment::error::Error),
+
+ #[error("Ignore error: {0:?}")]
+ Ignore(#[from] ignore::Error),
+
+ #[error("Process error: {0:?}")]
+ Finder(String),
+
+ #[error("Path error: {0:?}")]
+ Path(String),
}