pub fn register_exceptions(m: &Bound<'_, PyModule>) -> PyResult<()>
Register exception types with Python module