Skip to content

Commit 462fdc8

Browse files
committed
InvalidTimestepError is now a KeyError
1 parent c26ef58 commit 462fdc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stagpy/error.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def __init__(self, faulty_file, msg):
7272
super().__init__(faulty_file, msg)
7373

7474

75-
class InvalidTimestepError(StagpyError):
75+
class InvalidTimestepError(StagpyError, KeyError):
7676
"""Raised when invalid time step is requested.
7777
7878
Args:

0 commit comments

Comments
 (0)