Scripting exception. More...
#include <ScriptException.h>
Public Member Functions | |
virtual std::shared_ptr< ScriptException > | clone () const |
Clones this object. More... | |
Public Attributes | |
QString | errorMessage |
Error message. | |
QString | additionalInfo |
Additional information about the exception. More... | |
int | errorLine |
Error line. | |
int | errorColumn |
Error column. | |
QStringList | backtrace |
Backtrace. | |
Scripting exception.
Emitted from the scripting engine when an exception happens inside it. This is the base class.
|
inlinevirtual |
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 in ScriptRuntimeException, and ScriptEngineException.
QString ScriptException::additionalInfo |
Additional information about the exception.
This is additional information added at the place where the exception happened. It may contain information about what the system was doing when the exception happened.