Class Guzzle\Http\Exception\RequestException

InheritanceGuzzle\Http\Exception\RequestException » Guzzle\Common\Exception\RuntimeException » RuntimeException
ImplementsGuzzle\Common\Exception\GuzzleException, Guzzle\Http\Exception\HttpException
SubclassesGuzzle\Http\Exception\BadResponseException, Guzzle\Http\Exception\ClientErrorResponseException, Guzzle\Http\Exception\CurlException, Guzzle\Http\Exception\ServerErrorResponseException, Guzzle\Http\Exception\TooManyRedirectsException

Http request exception

Public Methods

Hide inherited methods

MethodDescriptionDefined By
getRequest() Get the request that caused the exception Guzzle\Http\Exception\RequestException
setRequest() Set the request that caused the exception Guzzle\Http\Exception\RequestException

Property Details

$request protected property

Method Details

getRequest() public method

Get the request that caused the exception

public Guzzle\Http\Message\RequestInterface getRequest ( )
setRequest() public method

Set the request that caused the exception

public Guzzle\Http\Exception\RequestException setRequest ( Guzzle\Http\Message\RequestInterface $request )
$request Guzzle\Http\Message\RequestInterface

Request to set