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

Allow send_error to continue if collecting multiple error messages before throwing #4

Open
nealkruis opened this issue May 24, 2024 · 0 comments

Comments

@nealkruis
Copy link
Member

Thoughts:

  • send_error should throw by default, but have an optional argument to force the execution to continue without throwing
  • the courier instance should keep track of the number of unthrown errors it has issued
  • add a new method for users to indicate they are ready to throw after collecting potential errors (maybe check_for_unthrown_errors?)
  • When a courier is destroyed, it should check if there are unthrown errors and do something appropriate
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