SwiftCSV icon indicating copy to clipboard operation
SwiftCSV copied to clipboard

Make `enumerateAsDict()` Accept a Throwing Function

Open philipbel opened this issue 1 year ago • 0 comments

Parser.enumerateAsArray() catches errors and throws CSVParseError.generic error indicated the row on which the block threw.

As far as I can tell, there should be no impact on existing code that passes a non-throwing function to enumerateAsDict().

  • [x] Tests pass.

philipbel avatar Aug 21 '24 17:08 philipbel