summary refs log tree commit diff stats
path: root/src/errors.rs
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2021-01-12 22:15:26 -0300
committerSoniEx2 <endermoneymod@gmail.com>2021-01-12 22:15:26 -0300
commitbcdba3431c72cd0804d9a95972a907b828fb5fad (patch)
tree210f263e64f5e90726fcf92ec60eb088711787d4 /src/errors.rs
Prepare VM design
Diffstat (limited to 'src/errors.rs')
-rw-r--r--src/errors.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/errors.rs b/src/errors.rs
new file mode 100644
index 0000000..4fc2144
--- /dev/null
+++ b/src/errors.rs
@@ -0,0 +1,8 @@
+pub struct PatternError;
+
+#[derive(Clone)]
+pub enum MatchError {
+    StackOverflow,
+    ValidationError,
+    Other
+}