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

Exception for a missing attribute, mirroring Python's AttributeError. More...

#include <attributeerror.h>

Inheritance diagram for Py::AttributeError:
Collaboration diagram for Py::AttributeError:

Public Member Functions

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

Detailed Description

Exception for a missing attribute, mirroring Python's AttributeError.

Its RTTI descriptor is at 0x008eefb8. It has Py::StandardError at offset 0 as its one base. Its accessor is at 0x004c6b28. PythonExtension::getattr_methods() at 0x005ad5e0 throws it for a name with no method.

Constructor & Destructor Documentation

◆ AttributeError()

Py::AttributeError::AttributeError ( 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: