diff options
Diffstat (limited to 'astroid/exceptions.py')
-rw-r--r-- | astroid/exceptions.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/astroid/exceptions.py b/astroid/exceptions.py index e553d5ca..99b6f685 100644 --- a/astroid/exceptions.py +++ b/astroid/exceptions.py @@ -198,6 +198,13 @@ class AstroidTypeError(AstroidError): """Raised when a TypeError would be expected in Python code.""" +class InferenceOverwriteError(AstroidError): + """Raised when an inference tip is overwritten + + Currently only used for debugging. + """ + + # Backwards-compatibility aliases OperationError = util.BadOperationMessage UnaryOperationError = util.BadUnaryOperationMessage |