summaryrefslogtreecommitdiffstats
path: root/src/paths/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/paths/error.rs')
-rw-r--r--src/paths/error.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/paths/error.rs b/src/paths/error.rs
new file mode 100644
index 0000000..13a69ea
--- /dev/null
+++ b/src/paths/error.rs
@@ -0,0 +1,8 @@
+#[derive(thiserror::Error, Debug)]
+pub enum Error {
+ #[error("Ignore error: {0:?}")]
+ Ignore(#[from] ignore::Error),
+
+ #[error("Path contains invalid unicode: {0:?}")]
+ Unicode(String),
+}