class RequestException extends HttpClientException (View source)

Properties

Response $response

The response instance.

Methods

void
__construct(Response $response)

Create a new exception instance.

string
prepareMessage(Response $response)

Prepare the exception message.

Details

void __construct(Response $response)

Create a new exception instance.

Parameters

Response $response

Return Value

void

protected string prepareMessage(Response $response)

Prepare the exception message.

Parameters

Response $response

Return Value

string