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
)
inline ScriptError(
    int line,
    Type type,
    std::string message
)

function ScriptError

cpp
inline explicit ScriptError(
    std::string message
)
inline explicit ScriptError(
    std::string message
)

Public Attributes Documentation

variable line

cpp
std::optional< int > line;
std::optional< int > line;

Line number from.

variable message

cpp
std::string message;
std::string message;

variable type

cpp
std::optional< Type > type;
std::optional< Type > type;

Updated on 2025-01-07 at 13:40:43 +0000