diff options
author | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-05-29 16:58:58 +0300 |
---|---|---|
committer | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-05-29 16:58:58 +0300 |
commit | ea2c98310d103dfa9bf596d9c54a873e401356cf (patch) | |
tree | 6c8ef9f1220bf4f6d1cefa7ffd860990246aa748 /astroid/exceptions.py | |
parent | 08b05056af12e103c2f37569ad5091ca5fd4d787 (diff) | |
download | astroid-git-ea2c98310d103dfa9bf596d9c54a873e401356cf.tar.gz |
Add a new SuperError exception subclass, SuperArgumentTypeError, which is raised when there's a problem with any argument of the super call (invalid types).
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 9e3a279f..47f2fe50 100644 --- a/astroid/exceptions.py +++ b/astroid/exceptions.py @@ -46,6 +46,10 @@ class SuperError(ResolveError): """Error raised when there is a problem with a super call.""" +class SuperArgumentTypeError(SuperError): + """Error raised when the super arguments are invalid.""" + + class NotFoundError(ResolveError): """raised when we are unable to resolve a name""" |