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
$retryableErrors
private
array<string|int, mixed>
$retryableErrors
Methods
__construct()
public
__construct(array<string|int, mixed> $retryableErrors) : mixed
Parameters
- $retryableErrors : array<string|int, mixed>
createDefault()
public
static createDefault() : static
Return values
staticisRetryable()
public
isRetryable(Throwable $e) : bool
Parameters
- $e : Throwable