fn failed_to_extract_struct_field( py: Python<'_>, inner_err: PyErr, struct_name: &str, field_name: &str, ) -> PyErr