diff options
author | SoniEx2 <endermoneymod@gmail.com> | 2022-09-04 20:45:19 -0300 |
---|---|---|
committer | SoniEx2 <endermoneymod@gmail.com> | 2022-09-04 20:45:19 -0300 |
commit | 937774ee1d172cf47a7fc12e435b7dd7c6464aaf (patch) | |
tree | 6ab0173d47997852c0054715d59421cc0b81d46a /src/errors.rs | |
parent | f24123f943abaebffd098a12069bcca62181f862 (diff) |
Initial work on Serde VM stuff
Diffstat (limited to 'src/errors.rs')
-rw-r--r-- | src/errors.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/errors.rs b/src/errors.rs index b41b225..9b0025e 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -39,11 +39,11 @@ pub enum PatternError<'a> { // /// These are errors that may be returned by the matcher when matching a // /// pattern. // #[derive(Clone, Debug)] -// pub enum MatchError { +pub enum MatchError { // /// Returned if the pattern nests too deeply. // StackOverflow, // /// Returned if the pattern rejects the input. -// ValidationError, + ValidationError, // /// Returned if the pattern attempts an unsupported operation. // /// // /// In particular, if the [`PatternTypes`] doesn't support `get` or `pairs` @@ -52,4 +52,4 @@ pub enum PatternError<'a> { // UnsupportedOperation, // /// Returned if an unspecified non-critical error occurred. // Other -// } +} |