# pyo3::exceptions - Rust
Keywords: rust, rustlang, rust-lang, exceptions

# Module pyo3::exceptions [−] [src]

Exception types defined by Python.

## Modules

asyncio | Exceptions defined in `asyncio` module
socket | Exceptions defined in `socket` module

## Structs

PyArithmeticError |
PyAssertionError |
PyAttributeError |
PyBaseException |
PyBlockingIOError |
PyBrokenPipeError |
PyBufferError |
PyChildProcessError |
PyConnectionAbortedError |
PyConnectionError |
PyConnectionRefusedError |
PyConnectionResetError |
PyEOFError |
PyEnvironmentError |
PyException |
PyFileExistsError |
PyFileNotFoundError |
PyFloatingPointError |
PyGeneratorExit |
PyIOError |
PyImportError |
PyIndexError |
PyInterruptedError |
PyIsADirectoryError |
PyKeyError |
PyKeyboardInterrupt |
PyLookupError |
PyMemoryError |
PyModuleNotFoundError |
PyNameError |
PyNotADirectoryError |
PyNotImplementedError |
PyOSError |
PyOverflowError |
PyPermissionError |
PyProcessLookupError |
PyRecursionError |
PyReferenceError |
PyRuntimeError |
PyStopAsyncIteration |
PyStopIteration |
PySyntaxError |
PySystemError |
PySystemExit |
PyTimeoutError |
PyTypeError |
PyUnboundLocalError |
PyUnicodeDecodeError |
PyUnicodeEncodeError |
PyUnicodeError |
PyUnicodeTranslateError |
PyValueError |
PyZeroDivisionError |

## Type Definitions

ArithmeticError | Deprecated
AssertionError | Deprecated
AttributeError | Deprecated
BaseException | Deprecated
BlockingIOError | Deprecated
BrokenPipeError | Deprecated
BufferError | Deprecated
ChildProcessError | Deprecated
ConnectionAbortedError | Deprecated
ConnectionError | Deprecated
ConnectionRefusedError | Deprecated
ConnectionResetError | Deprecated
EOFError | Deprecated
EnvironmentError | Deprecated
Exception | Deprecated
FileExistsError | Deprecated
FileNotFoundError | Deprecated
FloatingPointError | Deprecated
GeneratorExit | Deprecated
IOError | Deprecated
ImportError | Deprecated
IndexError | Deprecated
InterruptedError | Deprecated
IsADirectoryError | Deprecated
KeyError | Deprecated
KeyboardInterrupt | Deprecated
LookupError | Deprecated
MemoryError | Deprecated
ModuleNotFoundError | Deprecated
NameError | Deprecated
NotADirectoryError | Deprecated
NotImplementedError | Deprecated
OSError | Deprecated
OverflowError | Deprecated
PermissionError | Deprecated
ProcessLookupError | Deprecated
RecursionError | Deprecated
ReferenceError | Deprecated
RuntimeError | Deprecated
StopAsyncIteration | Deprecated
StopIteration | Deprecated
SyntaxError | Deprecated
SystemError | Deprecated
SystemExit | Deprecated
TimeoutError | Deprecated
TypeError | Deprecated
UnboundLocalError | Deprecated
UnicodeDecodeError | Deprecated
UnicodeEncodeError | Deprecated
UnicodeError | Deprecated
UnicodeTranslateError | Deprecated
ValueError | Deprecated
ZeroDivisionError | Deprecated