Class: ChildWorkflowFailure
common.ChildWorkflowFailure
Contains information about a Child Workflow failure. Always contains the reason for the failure as its cause.
For example, if the Child was Terminated, the cause
is a TerminatedFailure.
This exception is expected to be thrown only by the framework code.
Hierarchy
-
↳
ChildWorkflowFailure
Constructors
constructor
• new ChildWorkflowFailure(namespace
, execution
, workflowType
, retryState
, cause?
): ChildWorkflowFailure
Parameters
Name | Type |
---|---|
namespace | undefined | string |
execution | IWorkflowExecution |
workflowType | string |
retryState | RetryState |
cause? | Error |