From 0840eb9166dcbb090fe6b1338e9cea2a7cb53ab9 Mon Sep 17 00:00:00 2001 From: mryouse Date: Thu, 9 Jun 2022 20:59:15 +0000 Subject: clarify exception --- exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exceptions.py') 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) -- cgit v1.2.3