Skip to main content

Interface: ApplicationErrorOptions

Properties​

category?​

optional category?: "BENIGN"


cause?​

optional cause?: unknown


details?​

optional details?: Json


errorType?​

optional errorType?: ErrorType

The shared error type; default from type when it is one, else UNKNOWN.


nextRetryDelay?​

optional nextRetryDelay?: number

Milliseconds or a duration string; overrides the next retry's delay only.


nonRetryable?​

optional nonRetryable?: boolean


type?​

optional type?: string

Free-form type (Temporal's model). An ErrorType value also sets errorType.