about summary refs log tree commit diff
path: root/users/tazjin/rlox/src/errors.rs
diff options
context:
space:
mode:
Diffstat (limited to 'users/tazjin/rlox/src/errors.rs')
-rw-r--r--users/tazjin/rlox/src/errors.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/users/tazjin/rlox/src/errors.rs b/users/tazjin/rlox/src/errors.rs
index 03a24312411c..2c29aa4c2f0a 100644
--- a/users/tazjin/rlox/src/errors.rs
+++ b/users/tazjin/rlox/src/errors.rs
@@ -7,6 +7,8 @@ pub enum ErrorKind {
     ExpectedSemicolon,
     ExpectedVariableName,
     TypeError(String),
+    UndefinedVariable(String),
+    InternalError(String),
 }
 
 #[derive(Debug)]