internal.types.error
class BaseException(object)
Fields
7
message
str
func
str
file
str
line
int
col
int
python_type
cobj
cause
Optional[BaseException]
Constructors
1
Properties
1
Special methods
3
class Exception(BaseException)
Constructors
1
class NameError(Exception)
Constructors
1
class OSError(Exception)
Fields
5
errno
Optional[int]
strerror
Optional[str]
filename
Optional[str]
filename2
Optional[str]
winerror
Optional[int]
Constructors
2
IOError = OSError
Alias of
OSErrorclass ValueError(Exception)
Constructors
1
class LookupError(Exception)
Constructors
1
class IndexError(LookupError)
Constructors
1
class KeyError(LookupError)
Constructors
1
class CError(Exception)
Constructors
1
class TypeError(Exception)
Constructors
1
class ArithmeticError(Exception)
Constructors
1
class ZeroDivisionError(ArithmeticError)
Constructors
1
class OverflowError(ArithmeticError)
Constructors
1
class AttributeError(Exception)
Constructors
1
class RuntimeError(Exception)
Constructors
1
class NotImplementedError(RuntimeError)
Constructors
1
class StopIteration(Exception)
Constructors
1
class AssertionError(Exception)
Constructors
1
class EOFError(Exception)
Constructors
1
class SystemExit(BaseException)
Constructors
2
Properties
1
class StaticCompileError(Exception)
Constructors
1
EnvironmentError = OSError
Alias of
OSErrorclass GeneratorExit(BaseException)
Constructors
1
class KeyboardInterrupt(BaseException)
Constructors
1
class MemoryError(Exception)
Constructors
1
class ReferenceError(Exception)
Constructors
1
class SystemError(Exception)
Constructors
1
class StopAsyncIteration(Exception)
Constructors
1
class FloatingPointError(ArithmeticError)
Constructors
1
class RecursionError(RuntimeError)
Constructors
1
class UnicodeError(ValueError)
Constructors
1
class UnicodeDecodeError(UnicodeError)
Fields
5
encoding
str
object
bytes
start
int
end
int
reason
str
Constructors
1
Properties
1
Special methods
2
class UnicodeEncodeError(UnicodeError)
Fields
5
encoding
str
object
str
start
int
end
int
reason
str
Constructors
1
Properties
1
Special methods
2
class UnicodeTranslateError(UnicodeError)
Fields
4
object
str
start
int
end
int
reason
str
Constructors
1
Properties
2
Special methods
2
class BlockingIOError(OSError)
Constructors
1
class ChildProcessError(OSError)
Constructors
1
class ConnectionError(OSError)
Constructors
1
class BrokenPipeError(ConnectionError)
Constructors
1
class ConnectionAbortedError(ConnectionError)
Constructors
1
class ConnectionRefusedError(ConnectionError)
Constructors
1
class ConnectionResetError(ConnectionError)
Constructors
1
class FileExistsError(OSError)
Constructors
1
class FileNotFoundError(OSError)
Constructors
1
class InterruptedError(OSError)
Constructors
1
class IsADirectoryError(OSError)
Constructors
1
class NotADirectoryError(OSError)
Constructors
1
class PermissionError(OSError)
Constructors
1
class ProcessLookupError(OSError)
Constructors
1
class TimeoutError(OSError)
Constructors
1