Class: ResolveChildWorkflowExecutionStartFailure
Provide lang the cause of failure
Properties
cause
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
staticcreate(properties?):ResolveChildWorkflowExecutionStartFailure&$Properties
Creates a new ResolveChildWorkflowExecutionStartFailure instance using the specified properties.
Parameters
properties?
Properties to set
Returns
ResolveChildWorkflowExecutionStartFailure & $Properties
ResolveChildWorkflowExecutionStartFailure instance
Call Signature
staticcreate(properties?):ResolveChildWorkflowExecutionStartFailure
Creates a new ResolveChildWorkflowExecutionStartFailure instance using the specified properties.
Parameters
properties?
Properties to set
Returns
ResolveChildWorkflowExecutionStartFailure
ResolveChildWorkflowExecutionStartFailure instance
decode()
staticdecode(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()
staticdecodeDelimited(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()
staticencode(message,writer?):Writer
Encodes the specified ResolveChildWorkflowExecutionStartFailure message. Does not implicitly coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailure.verify|verify messages.
Parameters
message
ResolveChildWorkflowExecutionStartFailure message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified ResolveChildWorkflowExecutionStartFailure message, length delimited. Does not implicitly coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailure.verify|verify messages.
Parameters
message
ResolveChildWorkflowExecutionStartFailure message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(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()
statictoObject(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