Documentation

ExceptionInterceptor
in package
implements ExceptionInterceptorInterface

Exception interceptor provides the ability to let workflow know if exception should be treated as fatal (stops execution) or must only fail the task execution (with consecutive retry).

Table of Contents

Interfaces

ExceptionInterceptorInterface
Exception interceptor provides the ability to let workflow know if exception should be treated as fatal (stops execution) or must only fail the task execution (with consecutive retry).

Properties

$retryableErrors  : array<string|int, mixed>

Methods

__construct()  : mixed
createDefault()  : static
isRetryable()  : bool

Properties

Methods

__construct()

public __construct(array<string|int, mixed> $retryableErrors) : mixed
Parameters
$retryableErrors : array<string|int, mixed>

isRetryable()

public isRetryable(Throwable $e) : bool
Parameters
$e : Throwable
Return values
bool

        
On this page

Search results