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

Request for ParseException to Include Source and Position as Properties #570

Open
Yuto-INOUE opened this issue May 10, 2023 · 1 comment

Comments

@Yuto-INOUE
Copy link

Yuto-INOUE commented May 10, 2023

The ParseException thrown by Fluid has the same structure as System.Exception, leaving the only method to programmatically handle the line where the error occurred as parsing the Message with regular expressions.
If ParseException could contain Source and Position properties, it would make error handling much smoother.

@hishamco
Copy link
Collaborator

I think this is mentioned before, to provide a way to give a useful information when error occurs

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

2 participants