class FatalRequestException extends SaloonException

Report a transport failure that occurred before an API returned a response.

Methods

__construct(Throwable $originalException, PendingRequest $pendingRequest)

Create a fatal request exception.

pendingRequest()

Get the pending request that caused the exception.

Details

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

Create a fatal request exception.

Parameters

Throwable $originalException
PendingRequest $pendingRequest

at line 29
PendingRequest pendingRequest()

Get the pending request that caused the exception.

Return Value

PendingRequest