Trait PyErrArguments
pub trait PyErrArguments: Send + Sync {
// Required method
fn arguments(self, py: Python<'_>) -> Py<PyAny>;
}Available on crate feature
tls only.Expand description
Helper conversion trait that allows to use custom arguments for lazy exception construction.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".