Open Journal Systems  3.3.0
Guzzle\Http\Exception\BadResponseException Class Reference
Inheritance diagram for Guzzle\Http\Exception\BadResponseException:
Guzzle\Http\Exception\RequestException Guzzle\Common\Exception\RuntimeException Guzzle\Http\Exception\HttpException Guzzle\Common\Exception\GuzzleException Guzzle\Common\Exception\GuzzleException Guzzle\Http\Exception\ClientErrorResponseException Guzzle\Http\Exception\ServerErrorResponseException Guzzle\Http\Exception\TooManyRedirectsException

Public Member Functions

 getResponse ()
 
 setResponse (Response $response)
 
- Public Member Functions inherited from Guzzle\Http\Exception\RequestException
 getRequest ()
 
 setRequest (RequestInterface $request)
 

Static Public Member Functions

static factory (RequestInterface $request, Response $response)
 

Additional Inherited Members

- Protected Attributes inherited from Guzzle\Http\Exception\RequestException
 $request
 

Detailed Description

Http request exception thrown when a bad response is received

Definition at line 11 of file lib/vendor/guzzle/guzzle/src/Guzzle/Http/Exception/BadResponseException.php.

Member Function Documentation

◆ factory()

static Guzzle\Http\Exception\BadResponseException::factory ( RequestInterface  $request,
Response  $response 
)
static

◆ getResponse()

◆ setResponse()

Guzzle\Http\Exception\BadResponseException::setResponse ( Response  $response)

Set the response that caused the exception

Parameters
Response$responseResponse to set

Definition at line 58 of file lib/vendor/guzzle/guzzle/src/Guzzle/Http/Exception/BadResponseException.php.


The documentation for this class was generated from the following file: