Replies: 1 comment 1 reply
-
There is no state-wide If you could share some example code, maybe I can demonstrate how you could do this. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In response to an on "child.error" event, from multiple children, I need to accumulate possibly multiple errors. The parent state receives the "child.error" event and concats each error to context.errors (array). But as the parent state is not an invoke, I cannot figure out how to raise or throw an error, and specify handling in an onError block?
This does not help, since it describes only the invoke scenario:
https://stately.ai/docs/migration#actions-can-throw-errors-without-escalate
I must be missing something? Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions