Make actions
required property onError
?
#5355
Unanswered
lee-at-zoo-corp
asked this question in
Ideas
Replies: 1 comment 2 replies
-
Can you show an example where errors have been swallowed "into the void"? Typically, you can listen for errors via |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There has been countless times where me and my colleagues have been bit by XState swallowing errors into the void. It would really help if
actions
was required on theonError
, so at least it signals to developers to assign a function here, such asconsole.error
... I understand this would be API breaking.Some alternatives are:
Any other ideas?
Beta Was this translation helpful? Give feedback.
All reactions