Handle parsing errors