#include <ModExmalif.hpp>
◆ ExceptionErrExc() [1/2]
exmalif::ExceptionErrExc::ExceptionErrExc |
( |
| ) |
|
|
default |
◆ ExceptionErrExc() [2/2]
exmalif::ExceptionErrExc::ExceptionErrExc |
( |
py::handle |
scope, |
|
|
const char * |
name, |
|
|
PyObject * |
base = PyExc_Exception |
|
) |
| |
|
inline |
Constructor, registers itself as python exception class under provided name in provided scope. Attaches user accessible methods to itself dynamically
- Parameters
-
scope | pybind scope to attach new Python exception class to |
name | name of the Python exception class |
base | pointer to Python object that is base class for this exception class (Python exception hirearchy) |
◆ AttachMethods()
void exmalif::ExceptionErrExc::AttachMethods |
( |
| ) |
|
|
inlineprotected |
Attaches Python methods to self
◆ cpp_exception_factory()
::elt::mal::bindings::MalPythonExceptionObjectPtr exmalif::ExceptionErrExc::cpp_exception_factory |
( |
py::object |
arguments | ) |
|
|
inline |
◆ operator()()
◆ throw_cpp_exception()
void exmalif::ExceptionErrExc::throw_cpp_exception |
( |
| ) |
|
|
inlineoverride |
The documentation for this class was generated from the following file: