Extended error handling in CSVHandler.