src/Form.php
protected function perform(Performer $performer)
    {
        try {
            $performer->perform();
        } catch (PerformerException $e) {
            $this->addError($e->getKey(), $e->getMessage());
            $this->saveData();
            $this->fail();
        }
    }
protected function perform(Performer $performer)
    {
        try {
            $performer->perform();
        } catch (PerformerException $e) {
            $this->addError($e->getKey(), $e->getMessage());
            $this->saveData();
            $this->fail();
        }
    }
protected function perform ( Performer $ performer ) { try { $ performer -> perform ( ) ; } catch ( PerformerException $ e ) { $ this -> addError ( $ e -> getKey ( ) , $ e -> getMessage ( ) ) ; $ this -> saveData ( ) ; $ this -> fail ( ) ; } }
Perform a performer and handle a possible exception

@param  Performer $performer
Perform a performer and handle a possible exception