Library of Assembled Shared Sources
|
Raiser type for enforcers that raises a Python exception. More...
#include <exception.h>
Raiser type for enforcers that raises a Python exception.
This can be used as a building block for Python-related enforcers. It's used by the macros PY_ENFORCE_POINTER()
, PY_ENFORCE_ZERO()
, and PY_ENFORCE_NOTZERO()
.
If a Python error is set, it will be fetched and thrown as a PythonException
. Otherwise, a new PythonException
of type AssertionError
will be thrown.
lass::python::PythonException |
Definition at line 195 of file python/exception.h.