GEOSX
List of all members
LvArray::python::PythonError Class Reference

Base class for all C++ exceptions related to Python. More...

#include <pythonHelpers.hpp>

Inheritance diagram for LvArray::python::PythonError:
Inheritance graph
[legend]

Detailed Description

Base class for all C++ exceptions related to Python.

Intended to be thrown when an actual Python exception is raised, then caught before returning control to Python. When used this way, it provides an easy way to return control to Python when a Python exception occurs (instead of e.g. propagating nullptr all the way back to Python, which is usually how error handling is done).

Definition at line 327 of file pythonHelpers.hpp.


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