Class: RuntimeError

RuntimeError

Represents an error thrown by the Interpreter during runtime as a result of invalid user input.

Constructor

new RuntimeError(token, message)

Creates a new runtime error instance.

Parameters:
Name Type Description
token Token

Token that caused the error.

message string

Message describing the error.

Source:

Members

token :Token

Type:
Source: