aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormryouse2022-06-09 20:59:15 +0000
committermryouse2022-06-09 20:59:15 +0000
commit0840eb9166dcbb090fe6b1338e9cea2a7cb53ab9 (patch)
tree623daa441dc574465b5c5a7b855673d294d2257f
parent45a043f126ea926689cc4b16dbf0bebffa2512a2 (diff)
clarify exception
-rw-r--r--exceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/exceptions.py b/exceptions.py
index 98395ac..229ec88 100644
--- a/exceptions.py
+++ b/exceptions.py
@@ -5,6 +5,6 @@ class InterpretPanic(NebPanic):
def __init__(self, sym, msg, arg=None):
big_message = f"[{sym.line}] '{sym.name}': {msg}"
if arg is not None:
- big_message += f" ({arg})"
+ big_message += f" (got {arg})"
super().__init__(big_message)