Unified error causality chains across Rust and Python using PyErrChain
.
std::error::Error
via a specific error type T
to a
PyErr
by downcasting when used as MapErrorToPyErr
;PyErrChain
wraps a PyErr
together with its causality chain.std::error::Error
to PyErr
.E
implementing
std::error::Error
and wrapped errors such as MyError<E>
to PyErr
s.file
, line
, and
column
location information to the err
.