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

Error dealing mechanism #156

Open
FranklinYu opened this issue May 9, 2018 · 0 comments
Open

Error dealing mechanism #156

FranklinYu opened this issue May 9, 2018 · 0 comments

Comments

@FranklinYu
Copy link

FranklinYu commented May 9, 2018

Currently if one of the event handler throws, the entire FSM seems to terminate. It would be great to have some special "throwing" / "error" FSM-event, so that whenever an event handler throws (or there is some catchable syntax error), the FSM would emit the event with the thrown error instead of simply allowing the error to bubble up.

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