Skip to main content

Class: ResolveChildWorkflowExecutionStartFailure

Provide lang the cause of failure

Properties​

cause​

cause: StartChildWorkflowExecutionFailedCause

ResolveChildWorkflowExecutionStartFailure 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.


workflowType​

workflowType: string

ResolveChildWorkflowExecutionStartFailure workflowType.

Methods​

toJSON()​

toJSON(): object

Converts this ResolveChildWorkflowExecutionStartFailure to JSON.

Returns​

object

JSON object


create()​

Call Signature​

static create(properties?): ResolveChildWorkflowExecutionStartFailure & $Properties

Creates a new ResolveChildWorkflowExecutionStartFailure instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

ResolveChildWorkflowExecutionStartFailure & $Properties

ResolveChildWorkflowExecutionStartFailure instance

Call Signature​

static create(properties?): ResolveChildWorkflowExecutionStartFailure

Creates a new ResolveChildWorkflowExecutionStartFailure instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

ResolveChildWorkflowExecutionStartFailure

ResolveChildWorkflowExecutionStartFailure instance


decode()​

static decode(reader, length?): ResolveChildWorkflowExecutionStartFailure & $Properties

Decodes a ResolveChildWorkflowExecutionStartFailure message from the specified reader or buffer.

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

length?​

number

Message length if known beforehand

Returns​

ResolveChildWorkflowExecutionStartFailure & $Properties

ResolveChildWorkflowExecutionStartFailure

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


decodeDelimited()​

static decodeDelimited(reader): ResolveChildWorkflowExecutionStartFailure & $Properties

Decodes a ResolveChildWorkflowExecutionStartFailure message from the specified reader or buffer, length delimited.

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

Returns​

ResolveChildWorkflowExecutionStartFailure & $Properties

ResolveChildWorkflowExecutionStartFailure

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


encode()​

static encode(message, writer?): Writer

Encodes the specified ResolveChildWorkflowExecutionStartFailure message. Does not implicitly coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailure.verify|verify messages.

Parameters​

message​

$Properties

ResolveChildWorkflowExecutionStartFailure message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


encodeDelimited()​

static encodeDelimited(message, writer?): Writer

Encodes the specified ResolveChildWorkflowExecutionStartFailure message, length delimited. Does not implicitly coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailure.verify|verify messages.

Parameters​

message​

$Properties

ResolveChildWorkflowExecutionStartFailure message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


fromObject()​

static fromObject(object): ResolveChildWorkflowExecutionStartFailure

Creates a ResolveChildWorkflowExecutionStartFailure message from a plain object. Also converts values to their respective internal types.

Parameters​

object​

{[k: string]: any; }

Plain object

Returns​

ResolveChildWorkflowExecutionStartFailure

ResolveChildWorkflowExecutionStartFailure


toObject()​

static toObject(message, options?): object

Creates a plain object from a ResolveChildWorkflowExecutionStartFailure message. Also converts values to other types if specified.

Parameters​

message​

ResolveChildWorkflowExecutionStartFailure

ResolveChildWorkflowExecutionStartFailure

options?​

IConversionOptions

Conversion options

Returns​

object

Plain object