summaryrefslogtreecommitdiff
path: root/astroid/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/exceptions.py')
-rw-r--r--astroid/exceptions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/astroid/exceptions.py b/astroid/exceptions.py
index df33b571..a20bf47a 100644
--- a/astroid/exceptions.py
+++ b/astroid/exceptions.py
@@ -214,6 +214,10 @@ class AstroidTypeError(AstroidError):
"""Raised when a TypeError would be expected in Python code."""
+class AstroidValueError(AstroidError):
+ """Raised when a ValueError would be expected in Python code."""
+
+
class InferenceOverwriteError(AstroidError):
"""Raised when an inference tip is overwritten