pyo3

Module exceptions

Source
Expand description

Exception and warning types defined by Python.

The structs in this module represent Python’s built-in exceptions and warnings, while the modules comprise structs representing errors defined in Python code.

The latter are created with the import_exception macro, which you can use yourself to import Python classes that are ultimately derived from BaseException.

Modules§

Structs§