Macro to_py_err

Source
macro_rules! to_py_err {
    ($error:ident -> $expr:expr) => { ... };
}
Expand description

Macro to convert an error into a specific Python exception.