Major Changes
-
#4535
6a9fa1f11
Thanks @Andarist! - Theescalate()
action is removed. Just throw an error normally. -
#4539
a2a377f47
Thanks @davidkpiano! - The error event (type: 'xstate.error.*'
) now has the error data on theevent.error
instead ofevent.data
:// ... invoke: { src: 'someSrc', onError: { actions: ({ event }) => { - event.data; + event.error; } } }