Gpf_Rpc_Request::getStdResponse PHP Method

getStdResponse() final public method

final public getStdResponse ( ) : stdClass
return stdClass
        public final function getStdResponse()
        {
            if (isset($this->responseError)) {
                throw new Gpf_Rpc_ExecutionException($this->responseError);
            }
            if ($this->response === null) {
                throw new Gpf_Exception("Request not executed yet.");
            }
            return $this->response;
        }