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

Errors: Changes reporting and handling #84

Merged
merged 1 commit into from
Apr 28, 2024

Conversation

davidwessman
Copy link
Owner

  • Relies on the parsing errors raised in ErbContent instead of
    rescuing them in the parser, this allows us to keep the line number
    of the error.
  • Removes location from all error messages
  • Adds more tests that actually check the error messages and line number

- Relies on the parsing errors raised in ErbContent instead of
  rescuing them in the parser, this allows us to keep the line number
  of the error.
- Removes location from all error messages
- Adds more tests that actually check the error messages and line number
@davidwessman davidwessman force-pushed the keep-line-number-from-parse-errors branch from 55e1646 to 98c142b Compare April 28, 2024 10:24
@davidwessman davidwessman merged commit 4f30440 into main Apr 28, 2024
4 checks passed
@davidwessman davidwessman deleted the keep-line-number-from-parse-errors branch April 28, 2024 10:25
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