SyntaxError

Moduleejs
Definitiondynamic class SyntaxError
InheritanceSyntaxError inherit Error inherit Object
StabilityEvolving.

Syntax error exception class.

Thrown when the system cannot parse a character sequence for the intended purpose, e.g. a regular expression containing invalid characters.


Properties

QualifiersPropertyTypeDescription
No properties defined

SyntaxError Methods

QualifiersMethod
SyntaxError(message: String = null)
 SyntaxError constructor.

Method Detail

public SyntaxError(message: String = null)

SyntaxError constructor.

Parameters
message: String Message to use when defining the Error.message property. [default: null]