Trivia plugin

If you want to check for the invalid JSON error, the best way to do that is `(e instanceof SyntaxError)`.