class HttpResponseException extends RuntimeException (View source)

Properties

protected Response $response

The underlying response instance.

Methods

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

Create a new HTTP response exception instance.

Response
getResponse()

Get the underlying response instance.

Details

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

Create a new HTTP response exception instance.

Parameters

Response $response
Throwable|null $previous

Return Value

void

Response getResponse()

Get the underlying response instance.

Return Value

Response