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

Documentation

InvocationFailure
in package

Table of Contents

Properties

$errorClass  : string
$errorMessage  : string
$failureJson  : string|null

Methods

__construct()  : mixed
__serialize()  : array<string|int, mixed>
__unserialize()  : void
fromThrowable()  : static
toThrowable()  : Throwable

Properties

Methods

__construct()

public __construct(Throwable> $errorClass, string $errorMessage) : mixed
Parameters
$errorClass : Throwable>
$errorMessage : string

__serialize()

public __serialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

__unserialize()

public __unserialize(Throwable>, errorMessage: string, failureJson?: string|null} $data) : void
Parameters
$data : Throwable>, errorMessage: string, failureJson?: string|null}
On this page

Search results