summaryrefslogtreecommitdiff
path: root/astroid/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/exceptions.py')
-rw-r--r--astroid/exceptions.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/astroid/exceptions.py b/astroid/exceptions.py
index 3889e2e7..d1094cec 100644
--- a/astroid/exceptions.py
+++ b/astroid/exceptions.py
@@ -30,6 +30,18 @@ class AstroidBuildingException(AstroidError):
class ResolveError(AstroidError):
"""base class of astroid resolution/inference error"""
+class MroError(ResolveError):
+ """Error raised when there is a problem with method resolution of a class."""
+
+
+class DuplicateBasesError(MroError):
+ """Error raised when there are duplicate bases in the same class bases."""
+
+
+class InconsistentMroError(MroError):
+ """Error raised when a class's MRO is inconsistent."""
+
+
class NotFoundError(ResolveError):
"""raised when we are unable to resolve a name"""