WorkflowException
extends TemporalException
in package
Table of Contents
Properties
- $execution : WorkflowExecution
- $type : string|null
Methods
- __construct() : mixed
- getExecution() : WorkflowExecution
- getWorkflowType() : string|null
- withoutMessage() : WorkflowException
- buildMessage() : string
- Build key-value list to explain exception. Skips empty values.
Properties
$execution
private
WorkflowExecution
$execution
$type
private
string|null
$type
Methods
__construct()
public
__construct(string|null $message, WorkflowExecution $execution[, string|null $workflowType = null ][, Throwable|null $previous = null ]) : mixed
Parameters
- $message : string|null
- $execution : WorkflowExecution
- $workflowType : string|null = null
- $previous : Throwable|null = null
getExecution()
public
getExecution() : WorkflowExecution
Return values
WorkflowExecutiongetWorkflowType()
public
getWorkflowType() : string|null
Return values
string|nullwithoutMessage()
public
static withoutMessage(WorkflowExecution $execution[, string|null $workflowType = null ][, Throwable|null $previous = null ]) : WorkflowException
Parameters
- $execution : WorkflowExecution
- $workflowType : string|null = null
- $previous : Throwable|null = null
Return values
WorkflowExceptionbuildMessage()
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>