#[doc(hidden)] pub fn argument_extraction_error(
py: Python<'_>,
arg_name: &str,
error: PyErr,
) -> PyErr
Expand description
Adds the argument name to the error message of an error which occurred during argument extraction.
Only modifies TypeError. (Cannot guarantee all exceptions have constructors from single string.)