ServerException
extends DurableWorkflowException
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- isActivityCompletionPayloadDiscoveryUnavailable() : bool
- Discovery failed before any activity-completion request was submitted.
- isActivityTaskBackendUnavailable() : bool
- A backend failure whose activity completion can be retried with the same attempt and lease.
- isStorageAdmissionFailure() : bool
- Whether the Server explicitly refused admission and requested a same-identity retry.
- isTransientConnectionFailure() : bool
- isTransientUpstreamFailure() : bool
- A temporary upstream HTTP failure without a Server protocol envelope.
- isWorkflowTaskBackendUnavailable() : bool
- A backend failure whose workflow-task mutation can be retried with the same lease fence.
Properties
$details read-only
public
array<string|int, mixed>|null
$details
= null
$reason read-only
public
string|null
$reason
= null
$status read-only
public
int
$status
Methods
__construct()
public
__construct(string $message, int $status[, string|null $reason = null ][, array<string, mixed>|array<int, mixed>|null $details = null ][, Throwable|null $previous = null ]) : mixed
Parameters
- $message : string
- $status : int
- $reason : string|null = null
- $details : array<string, mixed>|array<int, mixed>|null = null
- $previous : Throwable|null = null
isActivityCompletionPayloadDiscoveryUnavailable()
Discovery failed before any activity-completion request was submitted.
public
isActivityCompletionPayloadDiscoveryUnavailable(string $taskId, string $attemptId, string $leaseOwner) : bool
Parameters
- $taskId : string
- $attemptId : string
- $leaseOwner : string
Return values
boolisActivityTaskBackendUnavailable()
A backend failure whose activity completion can be retried with the same attempt and lease.
public
isActivityTaskBackendUnavailable(string $taskId, string $attemptId, string $leaseOwner) : bool
Parameters
- $taskId : string
- $attemptId : string
- $leaseOwner : string
Return values
boolisStorageAdmissionFailure()
Whether the Server explicitly refused admission and requested a same-identity retry.
public
isStorageAdmissionFailure([string|null $pollRequestId = null ]) : bool
Parameters
- $pollRequestId : string|null = null
Return values
boolisTransientConnectionFailure()
public
isTransientConnectionFailure() : bool
Return values
boolisTransientUpstreamFailure()
A temporary upstream HTTP failure without a Server protocol envelope.
public
isTransientUpstreamFailure() : bool
Return values
boolisWorkflowTaskBackendUnavailable()
A backend failure whose workflow-task mutation can be retried with the same lease fence.
public
isWorkflowTaskBackendUnavailable(string $taskId, string $leaseOwner, int $attempt[, string $operation = 'heartbeat_workflow_task' ]) : bool
Parameters
- $taskId : string
- $leaseOwner : string
- $attempt : int
- $operation : string = 'heartbeat_workflow_task'