Skip to main content

create_enhanced_exception

Function create_enhanced_exception 

Source
pub fn create_enhanced_exception(
    py: Python<'_>,
    exc_type: &Py<PyAny>,
    message: &str,
    context: ErrorContext,
) -> PyErr
Expand description

Create enhanced Python exception with context