protected function triggerError($status, \ErrorException $exception)
    {
        $this->result = false;
        $this->errorStatus = $status;
        $this->errorException = $exception;
        $this->error && call_user_func($this->error, $this, $status, $exception);
    }
protected function triggerError($status, \ErrorException $exception)
    {
        $this->result = false;
        $this->errorStatus = $status;
        $this->errorException = $exception;
        $this->error && call_user_func($this->error, $this, $status, $exception);
    }
protected function triggerError ( $ status , \ ErrorException $ exception ) { $ this -> result = false ; $ this -> errorStatus = $ status ; $ this -> errorException = $ exception ; $ this -> error && call_user_func ( $ this -> error , $ this , $ status , $ exception ) ; }
Trigger error callback

@param string $status
@param \ErrorException $exception
Trigger error callback