Proper parsing error handling