pyo3::exceptions

Macro impl_native_exception

Source
macro_rules! impl_native_exception {
    ($name:ident, $exc_name:ident, $doc:expr, $layout:path $(, #checkfunction=$checkfunction:path)?) => { ... };
    ($name:ident, $exc_name:ident, $doc:expr) => { ... };
}
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here