FailureReportRefused
extends TransportException
in package
FinalYes
A local reporting refusal, separate from the application's original failure.
Table of Contents
Properties
- $headers : array<string, string>
- $response : array<string|int, mixed>|null
- $status : int|null
- $transientConnectionFailure : bool
Methods
- __construct() : mixed
- fromResponse() : self
Properties
$headers read-only
public
array<string, string>
$headers
= []
$response read-only
public
array<string|int, mixed>|null
$response
= null
$status read-only
public
int|null
$status
= null
$transientConnectionFailure read-only
public
bool
$transientConnectionFailure
= false
Methods
__construct()
public
__construct(int $limit[, Throwable|null $previous = null ]) : mixed
Parameters
- $limit : int
- $previous : Throwable|null = null
fromResponse()
public
static fromResponse(int $status, array<string, mixed>|array<int, mixed>|null $response, string $rawBody[, array<string, string> $headers = [] ]) : self
Parameters
- $status : int
- $response : array<string, mixed>|array<int, mixed>|null
- $rawBody : string
-
Retained for compatibility with existing positional and named calls.
- $headers : array<string, string> = []