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

add an interface to pass file name (or a symbolic name for the input stream) to the parser for exceptions #41

Open
bubnikv opened this issue Jun 19, 2019 · 0 comments

Comments

@bubnikv
Copy link

bubnikv commented Jun 19, 2019

When parsing a faulty file or stream, exceptions are often thrown with an empty file names, which are then replaced with in the file_parser_error() constructor. It would help our project a lot, if there was a way to pass the name of the file or a symbolic name of the input stream to the parser functions, so that this field would be filled in in the exception and shown to the user.

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

No branches or pull requests

1 participant