class HttpResponseException extends RuntimeException

Methods

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

Create a new HTTP response exception instance.

Response
getResponse()

Get the underlying response instance.

Details

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

Create a new HTTP response exception instance.

Parameters

Response $response
Throwable|null $previous

at line 26
Response getResponse()

Get the underlying response instance.

Return Value

Response