ActivityInvocationFailure
extends InvocationFailure
in package
FinalYes
Use InvocationFailure instead.
Table of Contents
Properties
- $errorClass : string
- $errorMessage : string
Methods
- __construct() : mixed
- __serialize() : array<string|int, mixed>
- __unserialize() : void
- fromThrowable() : static
- toThrowable() : Throwable
Properties
$errorClass
public
string
$errorClass
$errorMessage
public
string
$errorMessage
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}
fromThrowable()
public
static fromThrowable(Throwable $error[, DataConverterInterface|null $dataConverter = null ]) : static
Parameters
- $error : Throwable
- $dataConverter : DataConverterInterface|null = null
Return values
statictoThrowable()
public
toThrowable([DataConverterInterface|null $dataConverter = null ]) : Throwable
Parameters
- $dataConverter : DataConverterInterface|null = null