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
].
macro_rules! py_wrap_error {
($module: ident, $rust: ty, $python: ident, $base: ty) => { ... };
}
A macro for wrapping a Rust error as a type error. Implements [ToPythonError
].