class FatalRequestException extends SaloonException

Report a request exchange that could not complete, such as a failed connection or a transfer that broke while receiving the response.

Methods

__construct(Throwable $originalException, PendingRequest $pendingRequest)

Create a fatal request exception.

pendingRequest()

Get the pending request that caused the exception.

Details

at line 20
__construct(Throwable $originalException, PendingRequest $pendingRequest)

Create a fatal request exception.

Parameters

Throwable $originalException
PendingRequest $pendingRequest

at line 30
PendingRequest pendingRequest()

Get the pending request that caused the exception.

Return Value

PendingRequest