Open Journal Systems  3.3.0
GuzzleHttp\Exception\BadResponseException Class Reference
Inheritance diagram for GuzzleHttp\Exception\BadResponseException:
GuzzleHttp\Exception\RequestException GuzzleHttp\Exception\TransferException GuzzleHttp\Exception\ClientException GuzzleHttp\Exception\ServerException

Public Member Functions

 __construct ( $message, RequestInterface $request, ResponseInterface $response=null, \Exception $previous=null, array $handlerContext=[])
 
- Public Member Functions inherited from GuzzleHttp\Exception\RequestException
 getHandlerContext ()
 
 getRequest ()
 
 getResponse ()
 
 hasResponse ()
 

Additional Inherited Members

- Static Public Member Functions inherited from GuzzleHttp\Exception\RequestException
static create (RequestInterface $request, ResponseInterface $response=null, \Exception $previous=null, array $ctx=[])
 
static getResponseBodySummary (ResponseInterface $response)
 
static wrapException (RequestInterface $request, \Exception $e)
 

Detailed Description

Exception when an HTTP error occurs (4xx or 5xx error)

Definition at line 10 of file vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php.

Constructor & Destructor Documentation

◆ __construct()

GuzzleHttp\Exception\BadResponseException::__construct (   $message,
RequestInterface  $request,
ResponseInterface  $response = null,
\Exception  $previous = null,
array  $handlerContext = [] 
)

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