Script: Class Top Level SyntaxError
Class SyntaxError
- Object
- TopLevel.Error
- SyntaxError
- TopLevel.Error
Represents a syntax error.
Constructor Summary
Constructs the error.
SyntaxError(msg : String)
Constructs the error with the specified message.
Method Summary
Methods inherited from class Error
Methods inherited from class Object
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
Constructor Detail
SyntaxError
publicSyntaxError()
Constructs the error.
SyntaxError
publicSyntaxError(msg : String)
Constructs the error with the specified message.
Parameters:
msg - the syntax error message.