Skip to main content

Class: ServerFailure

An engine-originated failure: quota, worker unavailable, history cap, codec error.

Extends​

Constructors​

Constructor​

new ServerFailure(message, nonRetryable?, errorType?): ServerFailure

Parameters​

message​

string

nonRetryable?​

boolean

errorType?​

ErrorType

Returns​

ServerFailure

Overrides​

WorkflowFailure.constructor

Properties​

cause?​

optional cause?: unknown

Inherited from​

WorkflowFailure.cause


errorType​

readonly errorType: ErrorType

The shared error type the engine classifies this failure as.

Inherited from​

WorkflowFailure.errorType


message​

message: string

Inherited from​

WorkflowFailure.message


name​

name: string

Inherited from​

WorkflowFailure.name


nonRetryable​

readonly nonRetryable: boolean


stack?​

optional stack?: string

Inherited from​

WorkflowFailure.stack