Skip to main content

pyo3_error_has_methods

Function pyo3_error_has_methods 

Source
pub fn pyo3_error_has_methods(error: &ErrorDef) -> bool
Expand description

Returns true when the error has whitelisted introspection methods that require extended constructor args (msg, status_code, is_transient, error_type).