Skip to main content

internal.types.error

Standard library Module 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)
class Exception
class Exception(BaseException)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class NameError
class NameError(Exception)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class OSError
class OSError(Exception)
Fields 5
errno Optional[int]
strerror Optional[str]
filename Optional[str]
filename2 Optional[str]
winerror Optional[int]
Constructors 2
__init__
__init__(self: Self, message: str = "", /)
__init__
__init__(self: Self, errno: Optional[int], strerror: str, filename: Optional[str] = None, winerror: Optional[int] = None, filename2: Optional[str] = None, /)
alias IOError
IOError = OSError
Alias of OSError
class ValueError
class ValueError(Exception)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class LookupError
class LookupError(Exception)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class IndexError
class IndexError(LookupError)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class KeyError
class KeyError(LookupError)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class TypeError
class TypeError(Exception)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class ArithmeticError
class ArithmeticError(Exception)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class ZeroDivisionError
class ZeroDivisionError(ArithmeticError)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class OverflowError
class OverflowError(ArithmeticError)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class AttributeError
class AttributeError(Exception)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class RuntimeError
class RuntimeError(Exception)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class NotImplementedError
class NotImplementedError(RuntimeError)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class StopIteration
class StopIteration(Exception)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class AssertionError
class AssertionError(Exception)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class EOFError
class EOFError(Exception)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class SystemExit
class SystemExit(BaseException)
Constructors 2
__init__
__init__(self: Self, message: str, status: int = 1, /)
__init__
__init__(self: Self, status: int = 0, /)
Properties 1
status
@property
status(self: Self)
class StaticCompileError
class StaticCompileError(Exception)
Constructors 1
__init__
__init__(self: Self, message: str = "")
alias EnvironmentError
EnvironmentError = OSError
Alias of OSError
class GeneratorExit
class GeneratorExit(BaseException)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class KeyboardInterrupt
class KeyboardInterrupt(BaseException)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class MemoryError
class MemoryError(Exception)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class ReferenceError
class ReferenceError(Exception)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class SystemError
class SystemError(Exception)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class StopAsyncIteration
class StopAsyncIteration(Exception)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class FloatingPointError
class FloatingPointError(ArithmeticError)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class RecursionError
class RecursionError(RuntimeError)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class UnicodeError
class UnicodeError(ValueError)
Constructors 1
__init__
__init__(self: Self, message: str = "", /)
class UnicodeDecodeError
class UnicodeDecodeError(UnicodeError)
Fields 5
encoding str
object bytes
start int
end int
reason str
Constructors 1
__init__
__init__(self: Self, encoding: str, object: bytes, start: int, end: int, reason: str, /)
Properties 1
args
@property
args(self: Self)
Special methods 2
__repr__
__repr__(self: Self, /)
__str__
__str__(self: Self, /)
class UnicodeEncodeError
class UnicodeEncodeError(UnicodeError)
Fields 5
encoding str
object str
start int
end int
reason str
Constructors 1
__init__
__init__(self: Self, encoding: str, object: str, start: int, end: int, reason: str, /)
Properties 1
args
@property
args(self: Self)
Special methods 2
__repr__
__repr__(self: Self, /)
__str__
__str__(self: Self, /)
class UnicodeTranslateError
class UnicodeTranslateError(UnicodeError)
Fields 4
object str
start int
end int
reason str
Constructors 1
__init__
__init__(self: Self, object: str, start: int, end: int, reason: str, /)
Properties 2
encoding
@property
encoding(self: Self) -> Optional[str]
args
@property
args(self: Self)
Special methods 2
__repr__
__repr__(self: Self, /)
__str__
__str__(self: Self, /)
class BlockingIOError
class BlockingIOError(OSError)
Constructors 1
__init__
__init__(self: Self, /, *args, **kwargs)
class ChildProcessError
class ChildProcessError(OSError)
Constructors 1
__init__
__init__(self: Self, /, *args, **kwargs)
class ConnectionError
class ConnectionError(OSError)
Constructors 1
__init__
__init__(self: Self, /, *args, **kwargs)
class BrokenPipeError
class BrokenPipeError(ConnectionError)
Constructors 1
__init__
__init__(self: Self, /, *args, **kwargs)
class ConnectionAbortedError
class ConnectionAbortedError(ConnectionError)
Constructors 1
__init__
__init__(self: Self, /, *args, **kwargs)
class ConnectionRefusedError
class ConnectionRefusedError(ConnectionError)
Constructors 1
__init__
__init__(self: Self, /, *args, **kwargs)
class ConnectionResetError
class ConnectionResetError(ConnectionError)
Constructors 1
__init__
__init__(self: Self, /, *args, **kwargs)
class FileExistsError
class FileExistsError(OSError)
Constructors 1
__init__
__init__(self: Self, /, *args, **kwargs)
class FileNotFoundError
class FileNotFoundError(OSError)
Constructors 1
__init__
__init__(self: Self, /, *args, **kwargs)
class InterruptedError
class InterruptedError(OSError)
Constructors 1
__init__
__init__(self: Self, /, *args, **kwargs)
class IsADirectoryError
class IsADirectoryError(OSError)
Constructors 1
__init__
__init__(self: Self, /, *args, **kwargs)
class NotADirectoryError
class NotADirectoryError(OSError)
Constructors 1
__init__
__init__(self: Self, /, *args, **kwargs)
class PermissionError
class PermissionError(OSError)
Constructors 1
__init__
__init__(self: Self, /, *args, **kwargs)
class ProcessLookupError
class ProcessLookupError(OSError)
Constructors 1
__init__
__init__(self: Self, /, *args, **kwargs)
class TimeoutError
class TimeoutError(OSError)
Constructors 1
__init__
__init__(self: Self, /, *args, **kwargs)