W3cubDocs

/Laravel 8

RequestException

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

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Http/Client/RequestException.html