Skip to content

ScriptError ​

#include "Scripting/ScriptingModule.h"

Public Types ​

Name
enumType { SyntaxError, RuntimeError}

Public Functions ​

Name
ScriptError(int line, Type type, std::string message)
ScriptError(std::string message)

Public Attributes ​

Name
std::optional< int >line <br>Line number from.
std::stringmessage
std::optional< Type >type

Public Types Documentation ​

enum Type ​

EnumeratorValueDescription
SyntaxError
RuntimeError

Public Functions Documentation ​

function ScriptError ​

cpp
inline ScriptError(
    int line,
    Type type,
    std::string message
)

function ScriptError ​

cpp
inline explicit ScriptError(
    std::string message
)

Public Attributes Documentation ​

variable line ​

cpp
std::optional< int > line;

Line number from.

variable message ​

cpp
std::string message;

variable type ​

cpp
std::optional< Type > type;

Updated on 2026-09-11 at 21:24:24 +0000