module internal.types.error¶
Source: stdlib/internal/types/error.codon
internal.types.error¶Source: stdlib/internal/types/error.codon
BaseException¶typename: str¶message: str¶func: str¶file: str¶line: int¶col: int¶python_type: cobj¶cause: Optional[BaseException]¶__cause__ @property Method is a class property ¶__init__(self, typename: str, message: str = "")¶__str__(self)¶__repr__(self)¶__cause__(self) @property Method is a class property ¶Exception¶__init__(self, typename: str, msg: str = "")¶NameError¶__init__(self, message: str = "")¶OSError¶__init__(self, message: str = "")¶IOError¶__init__(self, message: str = "")¶ValueError¶__init__(self, message: str = "")¶LookupError¶__init__(self, typename: str, message: str = "")¶__init__(self, msg: str = "")¶IndexError¶__init__(self, message: str = "")¶KeyError¶__init__(self, message: str = "")¶CError¶__init__(self, message: str = "")¶TypeError¶__init__(self, message: str = "")¶ArithmeticError¶__init__(self, msg: str = "")¶ZeroDivisionError¶__init__(self, typename: str, message: str = "")¶__init__(self, message: str = "")¶OverflowError¶__init__(self, message: str = "")¶AttributeError¶__init__(self, message: str = "")¶RuntimeError¶__init__(self, typename: str, message: str = "")¶__init__(self, message: str = "")¶NotImplementedError¶__init__(self, message: str = "")¶StopIteration¶__init__(self, message: str = "")¶AssertionError¶__init__(self, message: str = "")¶EOFError¶__init__(self, message: str = "")¶SystemExit¶status @property Method is a class property ¶__init__(self, message: str = "", status: int = 0)¶__init__(self, status: int)¶StaticCompileError¶__init__(self, message: str = "")¶