pub fn gen_pyo3_error_registration(error: &ErrorDef) -> Vec<String>
Generate m.add(...) registration calls for each exception type. Uses Error-suffixed names for variant exceptions (N818 compliance).
m.add(...)