Class: ApplicationFailureInfo
Represents an ApplicationFailureInfo.
Properties
category
category:
ApplicationErrorCategory
ApplicationFailureInfo category.
details?
optionaldetails?:$Properties|null
ApplicationFailureInfo details.
nextRetryDelay?
optionalnextRetryDelay?:$Properties|null
next_retry_delay can be used by the client to override the activity retry interval calculated by the retry policy. Retry attempts will still be subject to the maximum retries limit and total time limit defined by the policy.
nonRetryable
nonRetryable:
boolean
ApplicationFailureInfo nonRetryable.
type
type:
string
ApplicationFailureInfo type.
Methods
toJSON()
toJSON():
object
Converts this ApplicationFailureInfo to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):ApplicationFailureInfo&$Properties
Creates a new ApplicationFailureInfo instance using the specified properties.
Parameters
properties?
Properties to set
Returns
ApplicationFailureInfo & $Properties
ApplicationFailureInfo instance
Call Signature
staticcreate(properties?):ApplicationFailureInfo
Creates a new ApplicationFailureInfo instance using the specified properties.
Parameters
properties?
Properties to set
Returns
ApplicationFailureInfo
ApplicationFailureInfo instance
decode()
staticdecode(reader,length?):ApplicationFailureInfo&$Properties
Decodes an ApplicationFailureInfo 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
ApplicationFailureInfo & $Properties
ApplicationFailureInfo
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
staticdecodeDelimited(reader):ApplicationFailureInfo&$Properties
Decodes an ApplicationFailureInfo message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
Returns
ApplicationFailureInfo & $Properties
ApplicationFailureInfo
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 ApplicationFailureInfo message. Does not implicitly temporal.api.failure.v1.ApplicationFailureInfo.verify|verify messages.
Parameters
message
ApplicationFailureInfo message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified ApplicationFailureInfo message, length delimited. Does not implicitly temporal.api.failure.v1.ApplicationFailureInfo.verify|verify messages.
Parameters
message
ApplicationFailureInfo message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):ApplicationFailureInfo
Creates an ApplicationFailureInfo message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
ApplicationFailureInfo
ApplicationFailureInfo
toObject()
statictoObject(message,options?):object
Creates a plain object from an ApplicationFailureInfo message. Also converts values to other types if specified.
Parameters
message
ApplicationFailureInfo
ApplicationFailureInfo
options?
IConversionOptions
Conversion options
Returns
object
Plain object