Skip to main content

Class: ResolveChildWorkflowExecutionStartFailure

coresdk.workflow_activation.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

create(properties?): ResolveChildWorkflowExecutionStartFailure & $Properties

Creates a new ResolveChildWorkflowExecutionStartFailure instance using the specified properties.

Parameters

NameTypeDescription
properties?$PropertiesProperties to set

Returns

ResolveChildWorkflowExecutionStartFailure & $Properties

ResolveChildWorkflowExecutionStartFailure instance

create(properties?): ResolveChildWorkflowExecutionStartFailure

Parameters

NameType
properties?$Properties

Returns

ResolveChildWorkflowExecutionStartFailure


decode

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

Decodes a ResolveChildWorkflowExecutionStartFailure message from the specified reader or buffer.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage 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

decodeDelimited(reader): ResolveChildWorkflowExecutionStartFailure & $Properties

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader 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

encode(message, writer?): Writer

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

Parameters

NameTypeDescription
message$PropertiesResolveChildWorkflowExecutionStartFailure message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

NameTypeDescription
message$PropertiesResolveChildWorkflowExecutionStartFailure message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

fromObject(object): ResolveChildWorkflowExecutionStartFailure

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

ResolveChildWorkflowExecutionStartFailure

ResolveChildWorkflowExecutionStartFailure


toObject

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageResolveChildWorkflowExecutionStartFailureResolveChildWorkflowExecutionStartFailure
options?IConversionOptionsConversion options

Returns

Object

Plain object