Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide line number in error handler #3

Merged
merged 4 commits into from
Aug 16, 2018
Merged

Provide line number in error handler #3

merged 4 commits into from
Aug 16, 2018

Conversation

mthamil
Copy link
Owner

@mthamil mthamil commented Aug 16, 2018

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.

@mthamil mthamil merged commit 7efe3f2 into master Aug 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant