Library of Assembled Shared Sources
lass::python::impl::PythonFetchRaiser Struct Reference

Raiser type for enforcers that raises a Python exception. More...

#include <exception.h>

Detailed Description

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.

Exceptions
lass::python::PythonException

Definition at line 195 of file python/exception.h.


The documentation for this struct was generated from the following file: