DotSyntaxError is a class that extends the SyntaxError class and provides additional information about the syntax error.
This error is thrown when a parsing error occurs. The error provides additional information about the syntax error.
This is in reference to the specification that the error thrown when a parse error occurs in the !JSON.parse function is !SyntaxError.
Rest
Optional
Static
Optional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Create .stack property on a target object
Generated using TypeDoc
DotSyntaxError is a class that extends the SyntaxError class and provides additional information about the syntax error.
Remarks
This error is thrown when a parsing error occurs. The error provides additional information about the syntax error.
This is in reference to the specification that the error thrown when a parse error occurs in the !JSON.parse function is !SyntaxError.