FormatParser: Error Handling Improvements