class HttpResponseException extends RuntimeException (View source)

Properties

protected Response $response

The underlying response instance.

Methods

__construct(Response $response, Throwable|null $previous = null)

Create a new HTTP response exception instance.

Response
getResponse()

Get the underlying response instance.

Details

__construct(Response $response, Throwable|null $previous = null)

Create a new HTTP response exception instance.

Parameters

Response $response
Throwable|null $previous

Response getResponse()

Get the underlying response instance.

Return Value

Response