aboutsummaryrefslogtreecommitdiff
path: root/neb/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'neb/exceptions.py')
-rw-r--r--neb/exceptions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/neb/exceptions.py b/neb/exceptions.py
index 8bbe000..cc0f915 100644
--- a/neb/exceptions.py
+++ b/neb/exceptions.py
@@ -11,3 +11,7 @@ class InterpretPanic(NebPanic):
class LexError(NebPanic):
def __init__(self, message, line):
super().__init__(f"line {line}: {message}")
+
+class ParseError(NebPanic):
+ def __init__(self, message, line):
+ super().__init__(f"line {line}: {message}")