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, message: str = "")
Properties 1
typename
@property
typename(self)
Special methods 3
__str__
__str__(self: BaseException)
__repr__
__repr__(self: BaseException)
__cause__
@property
__cause__(self)
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, message: str = "")
__init__
__init__(self, errno: Optional[int], strerror: str, filename: Optional[str] = None, winerror: Optional[int] = None, filename2: Optional[str] = None)
class SystemExit
class SystemExit
Constructors 2
__init__
__init__(self, message: str, status: int = 1)
__init__
__init__(self, status: int = 0)
Properties 1
status
@property
status(self)
class UnicodeDecodeError
class UnicodeDecodeError
Fields 5
encoding str
object bytes
start int
end int
reason str
Constructors 1
__init__
__init__(self, encoding: str, object: bytes, start: int, end: int, reason: str)
Properties 1
args
@property
args(self)
Special methods 2
__repr__
__repr__(self)
__str__
__str__(self)
class UnicodeEncodeError
class UnicodeEncodeError
Fields 5
encoding str
object str
start int
end int
reason str
Constructors 1
__init__
__init__(self, encoding: str, object: str, start: int, end: int, reason: str)
Properties 1
args
@property
args(self)
Special methods 2
__repr__
__repr__(self)
__str__
__str__(self)
class UnicodeTranslateError
class UnicodeTranslateError
Fields 4
object str
start int
end int
reason str
Constructors 1
__init__
__init__(self, object: str, start: int, end: int, reason: str)
Properties 2
encoding
@property
encoding(self)
args
@property
args(self)
Special methods 2
__repr__
__repr__(self)
__str__
__str__(self)