InitialStateError
Thrown at class definition time when InitialState is applied twice to one parent.
Extends
Error
Type Parameters
Context
Context
Protocol
Protocol extends { } | undefined
Constructors
Constructor
new InitialStateError<
Context,Protocol>(targetState):InitialStateError<Context,Protocol>
Parameters
targetState
StateClass<Context, Protocol>
The state class whose parent already has an initial substate
Returns
InitialStateError<Context, Protocol>
Overrides
Error.constructor
Properties
targetStateName
targetStateName:
string
Display name of the state passed to the duplicate InitialState call.