Overte C++ Documentation
ScriptEngineException Class Reference

Exception that ocurred inside the scripting engine on the c++ side. More...

#include <ScriptException.h>

Inheritance diagram for ScriptEngineException:
Collaboration diagram for ScriptEngineException:

Public Member Functions

virtual std::shared_ptr< ScriptExceptionclone () const override
 Clones this object. More...
 

Additional Inherited Members

- 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.
 

Detailed Description

Exception that ocurred inside the scripting engine on the c++ side.

This is something that went wrong inside the ScriptEngine or ScriptManager infrastructure.

Member Function Documentation

◆ clone()

virtual std::shared_ptr<ScriptException> ScriptEngineException::clone ( ) const
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.

Returns
std::shared_ptr<ScriptException>

Reimplemented from ScriptException.


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