diff options
| author | mryouse | 2022-06-09 20:59:15 +0000 |
|---|---|---|
| committer | mryouse | 2022-06-09 20:59:15 +0000 |
| commit | 0840eb9166dcbb090fe6b1338e9cea2a7cb53ab9 (patch) | |
| tree | 623daa441dc574465b5c5a7b855673d294d2257f /exceptions.py | |
| parent | 45a043f126ea926689cc4b16dbf0bebffa2512a2 (diff) | |
clarify exception
Diffstat (limited to 'exceptions.py')
| -rw-r--r-- | exceptions.py | 2 |
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) |
