new ParseError(message)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
string | ||
...el |
Header | Obj |
<optional> |
The element that caused the error (null if not applicable) |
- Source:
Extends
- Error
Members
Methods
-
addSourceContext(originalLines)
-
Populate the error message with the original code region that caused the error
Parameters:
Name Type Description originalLines
Array.<string> - Source: