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

Improve errors & warnings #143

Open
hendrikvanantwerpen opened this issue Nov 7, 2023 · 0 comments
Open

Improve errors & warnings #143

hendrikvanantwerpen opened this issue Nov 7, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@hendrikvanantwerpen
Copy link
Collaborator

Currently we only have errors, and we always return on the first error. This is annoying, every error requires an additional run to discover the following. Most errors are local to a stanza, and we could easily discover multiple errors in one run.

Improvements for error handling:

  • Collect errors (at least during checking) and return all of them, instead of only the first.
  • Introduce warnings and return those even for successful parses.
@hendrikvanantwerpen hendrikvanantwerpen added the enhancement New feature or request label Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant