Handle Psych SyntaxError class