SwiftenumTeaFoundation

enum TeaFoundation.StateMachineError

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 2

  1. casecase invalidStateForEvent(event: B, state: A)
  2. casecase transitionBlockedEvent(event: B, state: A)
enum StateMachineError<A, B> where A: TeaFoundation.StateMachineState, B: TeaFoundation.StateMachineEvent {
    case invalidStateForEvent(event: B, state: A)
    case transitionBlockedEvent(event: B, state: A)
}