diff options
author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2013-06-18 17:24:28 +0200 |
---|---|---|
committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2013-06-18 17:24:28 +0200 |
commit | fc02b9e6bc453e0413e324c7a458b5871277744c (patch) | |
tree | 5447adcc4b02bff14a98817b4e2d4f98cb1b1443 /exceptions.py | |
parent | 2682f50ee379e7e6d7a0c5891ba7211fc8829ab3 (diff) | |
download | astroid-git-fc02b9e6bc453e0413e324c7a458b5871277744c.tar.gz |
[inference] introduce (but not use it yet) explicit inference for some node instances
Diffstat (limited to 'exceptions.py')
-rw-r--r-- | exceptions.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/exceptions.py b/exceptions.py index 07fb945e..3889e2e7 100644 --- a/exceptions.py +++ b/exceptions.py @@ -36,6 +36,11 @@ class NotFoundError(ResolveError): class InferenceError(ResolveError): """raised when we are unable to infer a node""" +class UseInferenceDefault(Exception): + """exception to be raised in custom inference function to indicate that it + should go back to the default behaviour + """ + class UnresolvableName(InferenceError): """raised when we are unable to resolve a name""" |