Temporal Docs PHP SDK API Version 2.20 (latest release) Release notes

Documentation

ActivityResetException extends ActivityCompletionException
in package

FinalYes

Indicates that the activity attempt was reset by the user.

Catching this exception directly is discouraged and catching the parent class ActivityCompletionException is recommended instead.

Table of Contents

Methods

__construct()  : mixed
getActivityId()  : string|null
getActivityType()  : string|null
getRunId()  : string|null
getWorkflowId()  : string|null
buildMessage()  : string
Build key-value list to explain exception. Skips empty values.

Methods

__construct()

public final __construct([string $message = "" ][, string|int $code = 0 ][, Throwable|null $previous = null ]) : mixed
Parameters
$message : string = ""
$code : string|int = 0
$previous : Throwable|null = null

buildMessage()

Build key-value list to explain exception. Skips empty values.

protected static buildMessage(array<non-empty-string, mixed> $values) : string
Parameters
$values : array<non-empty-string, mixed>
Return values
string
On this page

Search results