Skip to main content

BaseException

Standard library class internal.types.error.BaseException View source
class BaseException
class BaseException(object)
Fields 7
message str
func str
file str
line int
col int
python_type cobj
cause Optional[BaseException]
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
Properties 1
typename
@property
typename(self: Self)
Special methods 3
__str__
__str__(self: BaseException, /) -> str
__repr__
__repr__(self: BaseException, /) -> str
__cause__
@property
__cause__(self: Self)