Documentation

HttpClientException extends Exception

REST API HTTP Client Exception class.

Table of Contents

$request  : Request
Request.
$response  : Response
Response.
__construct()  : mixed
Initialize exception.
getRequest()  : Request
Get request data.
getResponse()  : Response
Get response data.

Properties

Methods

__construct()

Initialize exception.

public __construct(string $message, int $code, Request $request, Response $response) : mixed
Parameters
$message : string

Error message.

$code : int

Error code.

$request : Request

Request data.

$response : Response

Response data.

Return values
mixed

Search results