2020-07-04 15:55:26 +00:00
|
|
|
use crate::exceptions::PyBaseException;
|
2020-03-07 09:59:49 +00:00
|
|
|
|
2020-05-24 12:38:27 +00:00
|
|
|
pyo3_exception!(
|
|
|
|
"
|
|
|
|
The exception raised when Rust code called from Python panics.
|
|
|
|
|
|
|
|
Like SystemExit, this exception is derived from BaseException so that
|
|
|
|
it will typically propagate all the way through the stack and cause the
|
|
|
|
Python interpreter to exit.
|
|
|
|
",
|
|
|
|
PanicException,
|
2020-07-04 15:55:26 +00:00
|
|
|
PyBaseException
|
|
|
|
);
|