Skip to content

Navigation Menu

Sign in
Sign up

Provide line number in error handler - #76

Open
mthamil wants to merge 4 commits into
forcewake:master from
mthamil:more-error-info
Open

Provide line number in error handler #76
mthamil wants to merge 4 commits into
forcewake:master from
mthamil:more-error-info

Conversation

@mthamil

@mthamil mthamil commented Aug 6, 2018

Copy link
Copy Markdown

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 changed the title (削除) Provide line number in error hander (削除ここまで) (追記) Provide line number in error handler (追記ここまで) Aug 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /