Exception that ocurred inside the running script. More...
#include <ScriptException.h>
Public Member Functions | |
| virtual std::shared_ptr< ScriptException > | clone () const override |
| Clones this object. More... | |
Public Attributes | |
| ScriptValue | thrownValue |
| The actual value that was thrown by the script. More... | |
Public Attributes inherited from ScriptException | |
| QString | errorMessage |
| Error message. | |
| QString | additionalInfo |
| Additional information about the exception. More... | |
| int | errorLine |
| Error line. | |
| int | errorColumn |
| Error column. | |
| QStringList | backtrace |
| Backtrace. | |
Exception that ocurred inside the running script.
This is something that went wrong inside the running script.
|
inlineoverridevirtual |
Clones this object.
This is used in the scripting engine to ensure that while it can return different exception objects depending on what happened, the returned object is a copy that doesn't allow the caller to accidentally break the ScriptEngine's internal state.
Reimplemented from ScriptException.
| ScriptValue ScriptRuntimeException::thrownValue |
The actual value that was thrown by the script.
The content is completely arbitrary.