Class: ResolveChildWorkflowExecutionStartFailure
coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailure
Provide lang the cause of failure
Implements
Constructors
constructor
• new ResolveChildWorkflowExecutionStartFailure(properties?): ResolveChildWorkflowExecutionStartFailure
Constructs a new ResolveChildWorkflowExecutionStartFailure.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IResolveChildWorkflowExecutionStartFailure | Properties to set |
Returns
ResolveChildWorkflowExecutionStartFailure
Properties
cause
• cause: StartChildWorkflowExecutionFailedCause
ResolveChildWorkflowExecutionStartFailure cause.
Implementation of
IResolveChildWorkflowExecutionStartFailure.cause
workflowId
• workflowId: string
Lang should have this information but it's more convenient to pass it back for error construction on the lang side.
Implementation of
IResolveChildWorkflowExecutionStartFailure.workflowId
workflowType
• workflowType: string
ResolveChildWorkflowExecutionStartFailure workflowType.
Implementation of
IResolveChildWorkflowExecutionStartFailure.workflowType
Methods
toJSON
▸ toJSON(): Object
Converts this ResolveChildWorkflowExecutionStartFailure to JSON.