SyntaxError
Module | ejs |
Definition | dynamic class SyntaxError |
Inheritance | SyntaxError ![]() ![]() |
Stability | Evolving. |
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
Qualifiers | Property | Type | Description |
---|---|---|---|
No properties defined |
SyntaxError Methods
Qualifiers | Method |
---|---|
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]