Skip to main content

Module err

Module err 

Source

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ยง

PyErrArguments
Helper conversion trait that allows to use custom arguments for lazy exception construction.
SignedInteger ๐Ÿ”’
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::fetch is called but no exception is set.

Type Aliasesยง

PyResult
Represents the result of a Python call.
โš ๏ธ Internal Docs โš ๏ธ Not Public API ๐Ÿ‘‰ Official Docs Here