Trait IntoPyErr
numpy::error
pub trait IntoPyErr: Into<PyErr> { fn into_pyerr(self) -> PyErr; fn into_pyerr_with<D: Display>(self, _: impl FnOnce() -> D) -> PyErr; }
fn into_pyerr(self) -> PyErr
fn into_pyerr_with<D: Display>(self, _: impl FnOnce() -> D) -> PyErr
impl IntoPyErr for ErrorKind
fn into_pyerr_with<D: Display>(self, msg: impl FnOnce() -> D) -> PyErr