Interface: ApplicationFailureOptions
Properties
category?
optionalcategory?:"BENIGN"
Severity category of the application error. Affects worker-side logging and metrics behavior of this failure.
cause?
optionalcause?:Error
Cause of the failure
details?
optionaldetails?:unknown[]
Details about the failure. Serialized by the Worker's PayloadConverter.
message?
optionalmessage?:string
Error message
nextRetryDelay?
optionalnextRetryDelay?: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?
optionalnonRetryable?:boolean
Whether the current Activity or Workflow can be retried
Default
false
type?
optionaltype?:string
Error type (used by RetryPolicy.nonRetryableErrorTypes)