Replies: 1 comment
-
This is a good idea. Might not really be type-safe, since it's hard to predict which invokes it's for, and ideally this can be used for any error that happens in the state. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I find myself repeating
onError
attributes in machines with lots of invoked actors.Would it be crazy to allow a "default"
onError
to be specified inStateNodeConfig
?Invoked actors within the
running
state could use the defaultonError
transition, if they don't specify their ownonError
transition.Beta Was this translation helpful? Give feedback.
All reactions