Skip to main content

to_pynotimplemented_err

Function to_pynotimplemented_err 

Source
pub fn to_pynotimplemented_err(e: impl Display) -> PyErr
Expand description

Converts any type that implements Display to a Python NotImplementedError.

ยงErrors

Returns a Python error with the error string.