You can do `@exception.class === SyntaxError`