SyntaxError

Moduleejs
Namespaceintrinsic
Definitiondynamic class SyntaxError
InheritanceSyntaxError inherit Error inherit Object

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)
 SyntaxError constructor.

Method Detail

SyntaxError(message: String)

SyntaxError constructor.

Parameters
message: String Message to use when defining the Error.message property