aboutsummaryrefslogtreecommitdiffstats
path: root/src/paths/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/paths/error.rs')
-rw-r--r--src/paths/error.rs5
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),
}