diff options
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs new file mode 100644 index 0000000..c857bd2 --- /dev/null +++ b/src/error.rs @@ -0,0 +1,9 @@ +use regex; +use thiserror::Error; + + +#[derive(Debug, Error)] +pub enum Error { + #[error("Unable to parse regex")] + Regex(#[from] regex::Error), +} |