Generalize to syntaxerror