Durable Workflow PHP SDK — API Reference

Guides

ServerException extends DurableWorkflowException
in package

Table of Contents

Properties

$details  : array<string|int, mixed>|null
$reason  : string|null
$status  : int

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

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
bool

isActivityTaskBackendUnavailable()

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
bool

isStorageAdmissionFailure()

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
bool

isTransientConnectionFailure()

public isTransientConnectionFailure() : bool
Return values
bool

isTransientUpstreamFailure()

A temporary upstream HTTP failure without a Server protocol envelope.

public isTransientUpstreamFailure() : bool
Return values
bool

isWorkflowTaskBackendUnavailable()

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'
Return values
bool
On this page

Search results