Common class for errors.

Constructor

new (type:ErrorType, ?posInfos:PosInfos)

Variables

read onlymessage:String

A human-readable representation of the error.

posInfos:PosInfos

Position where the error was thrown. By default, this is the place where the error is constructed.

type:ErrorType

Error type, usable for discerning error types with switch statements.

Methods

toString ():String