class AstroidError(Exception): (source)
Known subclasses: astroid.exceptions.AstroidBuildingError
, astroid.exceptions.AstroidIndexError
, astroid.exceptions.AstroidTypeError
, astroid.exceptions.AstroidValueError
, astroid.exceptions.InferenceOverwriteError
, astroid.exceptions.NoDefault
, astroid.exceptions.ParentMissingError
, astroid.exceptions.ResolveError
base exception class for all astroid related exceptions
AstroidError and its subclasses are structured, intended to hold objects representing state when the exception is thrown. Field values are passed to the constructor as keyword-only arguments. Each subclass has its own set of standard fields, but use your best judgment to decide whether a specific exception instance needs more or fewer fields for debugging. Field values may be used to lazily generate the error message: self.message.format() will be called with the field names and values supplied as keyword arguments.