resonance 1.0.1
Loading...
Searching...
No Matches
Py::NameError Class Reference

Exception for an unresolved name, mirroring Python's NameError. More...

#include <nameerror.h>

Inheritance diagram for Py::NameError:
Collaboration diagram for Py::NameError:

Public Member Functions

 NameError (const HxStr &reason)
 Set the Python error indicator and become the thrown object.

Detailed Description

Exception for an unresolved name, mirroring Python's NameError.

Its RTTI descriptor is at 0x008ef390. It has Py::StandardError at offset 0 as its one base. Its accessor is at 0x0015feb0, and the emission at 0x005ae670 is an unreferenced copy. The hx.test command throws it for an unknown test name.

Constructor & Destructor Documentation

◆ NameError()

Py::NameError::NameError ( const HxStr & reason)
inline

Set the Python error indicator and become the thrown object.

Parameters
reasonText for the Python exception value. An empty string arrives at the interpreter as g_szEmptyString rather than as a null pointer.

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