public function hasExceptionOfType($type)
    {
        foreach ($this->_exceptions as $e) {
            if ($e instanceof $type) {
                return true;
            }
        }

        return false;
    }
public function hasExceptionOfType($type)
    {
        foreach ($this->_exceptions as $e) {
            if ($e instanceof $type) {
                return true;
            }
        }

        return false;
    }
public function hasExceptionOfType ( $ type ) { foreach ( $ this -> _exceptions as $ e ) { if ( $ e instanceof $ type ) { return true ; } } return false ; }
Does the response object contain an exception of a given type?

@param  string $type
@return boolean
Does the response object contain an exception of a given type?