Function to_py_err

Source
pub fn to_py_err<T: Into<PyErrWrapper>>(e: T) -> PyErr