Error class for parse errors.
This error is thrown when a parsing error occurs. ParseError is a subclass of SyntaxError.
This is in reference to the specification that the error thrown when a parse error occurs in the JSON.parse function is SyntaxError.
Optional
The position where the error occurred.
Error class for parse errors.
Remarks
This error is thrown when a parsing error occurs. ParseError is a subclass of SyntaxError.
This is in reference to the specification that the error thrown when a parse error occurs in the JSON.parse function is SyntaxError.