illegal

Function illegal 

Source
pub(super) fn illegal(
    from: RolloutState,
    event: &RolloutEvent,
    rollout_id: RolloutId,
) -> RolloutTransitionError
Expand description

Helper: build a RolloutTransitionError::IllegalForState for events that don’t apply to the current state.