Trait PyErrArguments
pub trait PyErrArguments: Send + Sync {
// Required method
fn arguments(self, py: Python<'_>) -> Py<PyAny>;
}
Available on crate features
dep_pyo3
and std
only.Expand description
Helper conversion trait that allows to use custom arguments for lazy exception construction.