Table of Contents

Class RuntimeError

Namespace
flx.SILQ.Errors
Assembly
flx.SILQ.dll

Represents a runtime error that occurs during interpretation of SILQ code.

public class RuntimeError : Exception, ISerializable
Inheritance
RuntimeError
Implements
Inherited Members

Constructors

RuntimeError(string, string)

Initializes a new instance of the RuntimeError class with a name and error message.

public RuntimeError(string name, string message)

Parameters

name string

The name associated with the error.

message string

The error message.

RuntimeError(Token, string)

Initializes a new instance of the RuntimeError class with a token and error message.

public RuntimeError(Token token, string message)

Parameters

token Token

The token where the error occurred.

message string

The error message.

Properties

Token

public Token Token { get; }

Property Value

Token