Skip to main content

create_exception

Macro create_exception 

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

Create a new Python exception.