|
resonance 1.0.1
|
Exception for a binding rule broken at run time, mirroring Python's RuntimeError. More...
#include <runtimeerror.h>


Public Member Functions | |
| RuntimeError (const HxStr &reason) | |
| Set the Python error indicator and become the thrown object. | |
Exception for a binding rule broken at run time, mirroring Python's RuntimeError.
Its RTTI descriptor is at 0x008ef078. It has Py::StandardError at offset 0 as its one base. Its accessor is at 0x004c6aa8, and the emission at 0x005abc48 is an unreferenced copy.
Py::MethodTable::add() at 0x005a5bc8 throws it with Too late to add a module method!, and the string Object::decrement_reference_count error. at 0x00821bb8 belongs to the second PyCXX site that released PyCXX guards the same way. The constructor body and the global holding PyExc_RuntimeError both come from the MethodTable site.
|
inline |
Set the Python error indicator and become the thrown object.
| reason | Text for the Python exception value. An empty string arrives at the interpreter as g_szEmptyString rather than as a null pointer. |