SyntaxError
About
The SyntaxError class is a subclass of Error that is thrown when the interpreter encounters a syntax error in code, or when the JSON parser encounters malformed JSON.
The SyntaxError class is a subclass of Error that is thrown when the interpreter encounters a syntax error in code, or when the JSON parser encounters malformed JSON.