RedisCancellation
class RedisCancellation
| internal |
Classify Redis cancellation and preserve failure precedence during cleanup.
Methods
static CanceledException|null
cancellationFrom(Throwable $exception, string $message)
Resolve an exact or native phpredis cancellation.
static void
throwOperationOrCleanupFailure(Throwable|null $operationFailure, Throwable|null $cleanupFailure)
Throw an operation or cleanup failure using cancellation precedence.
Details
at line 23
static CanceledException|null
cancellationFrom(Throwable $exception, string $message)
Resolve an exact or native phpredis cancellation.