ScriptRuntimeException

This exception is only thrown once a traceback of lines is collected from the script source code and there are no surrounding try-catch blocks around where the exception occurred. Native bindings may either throw this directly (if called from a script) or set the NativeFunctionError flag

Constructors

this
this(string msg, string file, size_t line)

Constructor

Members

Functions

toString
string toString()

Returns a string containing the script code traceback as well as exception message.

Variables

scriptTraceback
Tuple!(immutable size_t, string)[] scriptTraceback;

A chain of statements where the exception occurred

thrownValue
ScriptAny thrownValue;

If it is thrown by a script, this is the value that was thrown

Meta