StatelyErrorType: "EMPTY_TRANSITIONS" | "NO_TRANSITION" | "SAME_STATE"

The type of error, emitted as part of a StatelyError.

  • EMPTY_TRANSITIONS: You must set all valid transitions to use the machine. Use transitions to declare valid transitions.

  • NO_TRANSITION: There's no valid transition from the active state to the new state.

  • SAME_STATE: You can't transition from the active state to itself.

See

StatelyError

Generated using TypeDoc