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 a better way to handle exceptions thrown from State class's execution methods #196

Open
tcascio opened this issue Jul 26, 2023 · 1 comment

Comments

@tcascio
Copy link

tcascio commented Jul 26, 2023

I think it would be nice to have a generic way to handle exceptions thrown from State class's execution methods (like a controller advice in Spring).

@longquanzheng longquanzheng changed the title Request for a generic way to handle exceptions thrown from State class's execution methods Request for a better way to handle exceptions thrown from State class's execution methods Jul 1, 2024
@mixydubs
Copy link
Contributor

mixydubs commented Jul 8, 2024

Hi @tcascio, @longquanzheng and I were reviewing this ticket and we have some concerns about a feature like this:

  • increased learning curve for future users
  • hidden "magic"

Are you thinking of something like @NotRetriableException = RuntimeException

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants