module documentation
this module contains exceptions used in the astroid library
Exception |
|
exception class when we are unable to build an astroid representation |
Exception |
|
base exception class for all astroid related exceptions |
Exception |
|
Exception class used when a module can't be imported by astroid. |
Exception |
|
Raised when an Indexable / Mapping does not have an index / key. |
Exception |
|
Exception class used when a module can't be parsed. |
Exception |
|
Raised when a TypeError would be expected in Python code. |
Exception |
|
Raised when a ValueError would be expected in Python code. |
Exception |
|
Raised when an attribute lookup fails, corresponds to AttributeError. |
Exception |
|
Error raised when there are duplicate bases in the same class bases. |
Exception |
|
Error raised when a class's MRO is inconsistent. |
Exception |
|
raised when we are unable to infer a node |
Exception |
|
Raised when an inference tip is overwritten |
Exception |
|
Error raised when there is a problem with method resolution of a class. |
Exception |
|
Raised when a name lookup fails, corresponds to NameError. |
Exception |
|
raised by function's default_value method when an argument has no default value |
Exception |
|
Raised when a node which is expected to have a parent attribute is missing one |
Exception |
|
Base class of astroid resolution/inference error. |
Exception |
|
Raised when a call to node.statement() does not return a node. This is because a node in the chain does not have a parent attribute and therefore does not return a node for statement(). |
Exception |
|
Error raised when there is a problem with a super call. |
Exception |
|
Exception class which is raised when a relative import was beyond the top-level. |
Exception |
|
exception to be raised in custom inference function to indicate that it should go back to the default behaviour |
Exception | _ |
Raised when is_subtype / is_supertype can't deduce the relation between two types. |