Skip to main content

Class: ActivityFailure

The final failure of an activity, after its retries. cause is the last attempt's failure. A user activity has an empty nodeType, its name as operation and as activityName.

Extends​

Constructors​

Constructor​

new ActivityFailure(message, activityId, nodeType, operation, cause, activityName?): ActivityFailure

Parameters​

message​

string

activityId​

string

nodeType​

string

operation​

string

cause​

Error

activityName?​

string

Returns​

ActivityFailure

Overrides​

WorkflowFailure.constructor

Properties​

activityId​

readonly activityId: string


activityName?​

readonly optional activityName?: string


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


nodeType​

readonly nodeType: string


operation​

readonly operation: string


stack?​

optional stack?: string

Inherited from​

WorkflowFailure.stack