Macro py_wrap_error

Source
macro_rules! py_wrap_error {
    ($module: ident, $rust: ty, $python: ident, $base: ty) => { ... };
}
Expand description

A macro for wrapping a Rust error as a type error. Implements [ToPythonError].