Class: SystemWorkflowFailure
Represents a SystemWorkflowFailure.
Properties
workflowError
workflowError:
string
Serialized error returned by the system workflow performing the underlying operation.
workflowExecution?
optionalworkflowExecution?:$Properties|null
WorkflowId and RunId of the Temporal system workflow performing the underlying operation. Looking up the info of the system workflow run may help identify the issue causing the failure.
Methods
toJSON()
toJSON():
object
Converts this SystemWorkflowFailure to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):SystemWorkflowFailure&$Properties
Creates a new SystemWorkflowFailure instance using the specified properties.
Parameters
properties?
Properties to set
Returns
SystemWorkflowFailure & $Properties
SystemWorkflowFailure instance
Call Signature
staticcreate(properties?):SystemWorkflowFailure
Creates a new SystemWorkflowFailure instance using the specified properties.
Parameters
properties?
Properties to set
Returns
SystemWorkflowFailure
SystemWorkflowFailure instance
decode()
staticdecode(reader,length?):SystemWorkflowFailure&$Properties
Decodes a SystemWorkflowFailure 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
SystemWorkflowFailure & $Properties
SystemWorkflowFailure
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
staticdecodeDelimited(reader):SystemWorkflowFailure&$Properties
Decodes a SystemWorkflowFailure message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
Returns
SystemWorkflowFailure & $Properties
SystemWorkflowFailure
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 SystemWorkflowFailure message. Does not implicitly temporal.api.errordetails.v1.SystemWorkflowFailure.verify|verify messages.
Parameters
message
SystemWorkflowFailure message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified SystemWorkflowFailure message, length delimited. Does not implicitly temporal.api.errordetails.v1.SystemWorkflowFailure.verify|verify messages.
Parameters
message
SystemWorkflowFailure message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):SystemWorkflowFailure
Creates a SystemWorkflowFailure message from a plain object. Also converts values to their respective internal types.
Parameters
object
{[k: string]: any; }
Plain object
Returns
SystemWorkflowFailure
SystemWorkflowFailure
toObject()
statictoObject(message,options?):object
Creates a plain object from a SystemWorkflowFailure message. Also converts values to other types if specified.
Parameters
message
SystemWorkflowFailure
SystemWorkflowFailure
options?
IConversionOptions
Conversion options
Returns
object
Plain object