module documentation

This module contains exceptions used in the astroid library.

Exception AstroidBuildingError Exception class when we are unable to build an astroid representation.
Exception AstroidError Base exception class for all astroid related exceptions.
Exception AstroidImportError Exception class used when a module can't be imported by astroid.
Exception AstroidIndexError Raised when an Indexable / Mapping does not have an index / key.
Exception AstroidSyntaxError Exception class used when a module can't be parsed.
Exception AstroidTypeError Raised when a TypeError would be expected in Python code.
Exception AstroidValueError Raised when a ValueError would be expected in Python code.
Exception AttributeInferenceError Raised when an attribute lookup fails, corresponds to AttributeError.
Exception DuplicateBasesError Error raised when there are duplicate bases in the same class bases.
Exception InconsistentMroError Error raised when a class's MRO is inconsistent.
Exception InferenceError Raised when we are unable to infer a node.
Exception InferenceOverwriteError Raised when an inference tip is overwritten.
Exception MroError Error raised when there is a problem with method resolution of a class.
Exception NameInferenceError Raised when a name lookup fails, corresponds to NameError.
Exception NoDefault Raised by function's `default_value` method when an argument has no default value.
Exception ParentMissingError Raised when a node which is expected to have a parent attribute is missing one.
Exception ResolveError Base class of astroid resolution/inference error.
Exception StatementMissing Raised when a call to node.statement() does not return a node.
Exception SuperError Error raised when there is a problem with a *super* call.
Exception TooManyLevelsError Exception class which is raised when a relative import was beyond the top-level.
Exception UseInferenceDefault Exception to be raised in custom inference function to indicate that it should go back to the default behaviour.
Exception _NonDeducibleTypeHierarchy Raised when is_subtype / is_supertype can't deduce the relation between two types.