Interface: ApplicationFailureOptions
common.ApplicationFailureOptions
Properties
cause
• Optional
cause: Error
Cause of the failure
details
• Optional
details: unknown
[]
Details about the failure. Serialized by the Worker's PayloadConverter.
message
• Optional
message: string
Error message
nextRetryDelay
• Optional
nextRetryDelay: Duration
If set, overrides the delay until the next retry of this Activity / Workflow Task.
Retry attempts will still be subject to the maximum retries limit and total time limit defined by the policy.
nonRetryable
• Optional
nonRetryable: boolean
Whether the current Activity or Workflow can be retried
Default
false
type
• Optional
type: string
Error type (used by RetryPolicy.nonRetryableErrorTypes)