public function error($errno, $errstr)
    {
        if ($errno === E_RECOVERABLE_ERROR) {
            $name = $this->getName();
            $route = $name ? $name : $this->getActionName();
            throw new CatchableFatalErrorException($route, $errstr);
        }
    }
public function error($errno, $errstr)
    {
        if ($errno === E_RECOVERABLE_ERROR) {
            $name = $this->getName();
            $route = $name ? $name : $this->getActionName();
            throw new CatchableFatalErrorException($route, $errstr);
        }
    }
public function error ( $ errno , $ errstr ) { if ( $ errno === E_RECOVERABLE_ERROR ) { $ name = $ this -> getName ( ) ; $ route = $ name ? $ name : $ this -> getActionName ( ) ; throw new CatchableFatalErrorException ( $ route , $ errstr ) ; } }
Throw recoverable errors as a CatchableFatalErrorException.

@param  int  $errno
@param  string  $errstr
@return void
@throws \CupOfTea\TwoStream\Exceptions\CatchableFatalErrorException
Throw recoverable errors as a CatchableFatalErrorException .