Re-exportsยง
pub use cast_error::CastError;pub use cast_error::CastIntoError;pub use downcast_error::DowncastError;Deprecated pub use downcast_error::DowncastIntoError;Deprecated
Modulesยง
- cast_
error ๐ - downcast_
error ๐ - err_
state ๐ - impls ๐
Macrosยง
- impl_
signed_ ๐integer
Structsยง
- PyErr
- Represents a Python exception.
Traitsยง
- PyErr
Arguments - Helper conversion trait that allows to use custom arguments for lazy exception construction.
- Signed
Integer ๐ - ToPyErr
- Python exceptions that can be converted to
PyErr.
Functionsยง
- error_
on_ ๐minusone - Returns Ok if the error code is not -1.
- failed_
to_ ๐fetch - Called when
PyErr::fetchis called but no exception is set.
Type Aliasesยง
- PyResult
- Represents the result of a Python call.