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.

Last Updated:
Contributors: Aparajita