Skip to content

Commit 122177c

Browse files
committed
Subclass TruncationError from RuntimeError
1 parent 58a4f42 commit 122177c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,5 @@ def __init__(self, message, actual=None, expected=None):
7676
super().__init__(message)
7777

7878

79-
class TruncationError(Exception):
79+
class TruncationError(RuntimeError):
8080
"""Exception for errors generated from truncated graphs"""

0 commit comments

Comments
 (0)