Skip to main content

internal.types.error

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