diff options
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""" |