InvokeDefinition.onError property​
The transition to take upon the invoked child machine sending an error event.
Signature:
onError?: string | SingleOrArray<TransitionConfig<TContext, ErrorActorEvent, TEvent, TActor, TAction, TGuard, TDelay>>;
The transition to take upon the invoked child machine sending an error event.
Signature:
onError?: string | SingleOrArray<TransitionConfig<TContext, ErrorActorEvent, TEvent, TActor, TAction, TGuard, TDelay>>;