Catch parse errors.