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. D bindings to native functions should not directly throw this, but instead set the NativeFunctionError flag and return.

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