|
AGXDynamics
2.31.1.0
|
Exception base class for all fatal runtime errors caused by Python scripts. More...
#include <ScriptManager.h>
Inheritance diagram for agxPython::ScriptError:Public Member Functions | |
| ScriptError () | |
| ScriptError (const ScriptError &other) | |
| ScriptError (std::string scriptError, std::string scriptFile) | |
| virtual | ~ScriptError () |
| virtual const char * | what () const AGX_NOEXCEPT override |
Exception base class for all fatal runtime errors caused by Python scripts.
Thrown only by the ScriptManager, whose source file also implements multiple derived ScriptError classes for each main error type. Catching exceptions of this base type is enough wherever error handling of script execution should happen. It derives from STLs std::exception if any handler wish to rethrow the exception upwards (e.g for logging or other purposes)
Definition at line 85 of file agxPython/ScriptManager.h.
| agxPython::ScriptError::ScriptError | ( | ) |
| agxPython::ScriptError::ScriptError | ( | const ScriptError & | other | ) |
| agxPython::ScriptError::ScriptError | ( | std::string | scriptError, |
| std::string | scriptFile | ||
| ) |
|
virtual |
|
overridevirtual |