Skip to main content

format_python_error

Function format_python_error 

Source
pub fn format_python_error(
    py: Python<'_>,
    err: &PyErr,
    func: &CompiledFunction,
) -> String
Expand description

Format a Python error with context from the compiled function.