Class: ParseError

ParseError

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

els :Array.<Header, Obj>

Type:
Source:

message :string

Type:
  • string
Source:

Methods

addSourceContext(originalLines)

Populate the error message with the original code region that caused the error
Parameters:
Name Type Description
originalLines Array.<string>
Source: