Class SyntaxError
Represents a syntax error.
| Constructor | Description |
|---|---|
| SyntaxError() | Constructs the error. |
| SyntaxError(String) | Constructs the error with the specified message. |
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
- SyntaxError()
Constructs the error.
- SyntaxError(msg: String)
Constructs the error with the specified message.
Parameters:
- msg - the syntax error message.