diff options
Diffstat (limited to 'astroid/exceptions.py')
-rw-r--r-- | astroid/exceptions.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/astroid/exceptions.py b/astroid/exceptions.py index 0a4d5d87..7098bd85 100644 --- a/astroid/exceptions.py +++ b/astroid/exceptions.py @@ -181,6 +181,10 @@ class UseInferenceDefault(Exception): """ +class _NonDeducibleTypeHierarchy(Exception): + """Raised when is_subtype / is_supertype can't deduce the relation between two types.""" + + # Backwards-compatibility aliases OperationError = util.BadOperationMessage UnaryOperationError = util.BadUnaryOperationMessage |