pub trait PyErrArguments: Send + Sync {
// Required method
fn arguments(self, py: Python<'_>) -> PyObject;
}
Expand description
Helper conversion trait that allows to use custom arguments for lazy exception construction.
pub trait PyErrArguments: Send + Sync {
// Required method
fn arguments(self, py: Python<'_>) -> PyObject;
}
Helper conversion trait that allows to use custom arguments for lazy exception construction.