Skip to main content

Interface: ApplicationFailureOptions

Properties​

category?​

optional category?: "BENIGN"

Severity category of the application error. Affects worker-side logging and metrics behavior of this failure.


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)