macro_rules! create_exception_type_object {
    ($module: expr, $name: ident, $base: ty, $doc: expr) => { ... };
}
Expand description

impl PyTypeInfo for $name where $name is an exception newly defined in Rust code.

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here