Skip to content

Glossary: Rust in Practice

PyResult

Also written: PyValueError

PyO3's `Result` type whose error becomes a Python exception. `PyValueError::new_err` makes a `ValueError`.

Where the book teaches it

Related terms

PyO3JsError