diff options
author | Toby Vincent <tobyv13@gmail.com> | 2022-11-10 17:37:24 -0600 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2022-11-10 17:37:24 -0600 |
commit | 4cac42d2299cecdc3d6a7f6d7661137da338278b (patch) | |
tree | 4b1954cd32eb54b170616b41f0c43b46f6647722 /src/paths/error.rs | |
parent | c8681e50194855a2ad36bf984866a30cfcfb8ec9 (diff) |
feat: add paths module and tests
Diffstat (limited to 'src/paths/error.rs')
-rw-r--r-- | src/paths/error.rs | 8 |
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), +} |