izzum\statemachine\Context::setFailedTransition PHP Method

setFailedTransition() public method

stores a failed transition, called by the statemachine This is a transition that has failed since it: - was not allowed - where an exception was thrown from a rule or command - etc. any general transition failure
public setFailedTransition ( Transition $transition, Exception $e )
$transition Transition
$e Exception
    public function setFailedTransition(Transition $transition, Exception $e)
    {
        $this->getPersistenceAdapter()->setFailedTransition($this->getIdentifier(), $transition, $e);
    }