FlatFile
FlatFile copied to clipboard
Provide line number in error handler
I would find it useful to have the line number available for error handling.
This pull request includes backward compatible refactoring to introduce a FlatFileErrorContext object that contains all relevant information about a parsing error. This should simplify the introduction of any more error details in the future. In addition to the existing properties, Line and Exception, I added the line number to this context.