Trait pyo3::PyErrArguments

source ·
pub trait PyErrArguments: Send + Sync {
    fn arguments(self, py: Python<'_>) -> PyObject;
}
Expand description

Helper conversion trait that allows to use custom arguments for lazy exception construction.

Required Methods§

Arguments for exception

Implementations on Foreign Types§

Implementors§