W3cubDocs

/Laravel 5.8

HttpResponseException

class HttpResponseException extends RuntimeException (View source)

Properties

protected Response $response The underlying response instance.

Methods

void __construct(Response $response)

Create a new HTTP response exception instance.

Response getResponse()

Get the underlying response instance.

Details

void __construct(Response $response)

Create a new HTTP response exception instance.

Parameters

Response $response

Return Value

void

Response getResponse()

Get the underlying response instance.

Return Value

Response

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.8/Illuminate/Http/Exceptions/HttpResponseException.html