An object for Transition Rejection reasons.

Enumeration Members

Enumeration Members

ABORTED: number

The transition was aborted.

The transition was aborted by a hook which returned false.

ERROR: number

The transition errored.

This generally means a hook threw an error or returned a rejected promise.

IGNORED: number

The transition was ignored.

The transition was ignored because it would have no effect. Either:

  • The transition is targeting the current state and parameter values.
  • The transition is targeting the same state and parameter values as the currently running transition.
INVALID: number

The transition was invalid.

The transition was never started because it was invalid.

SUPERSEDED: number

A new transition superseded this one.

While this transition was running, a new transition started. This transition is cancelled because it was superseded by a new transition.