rescue parsing errors