Skip to main content

Class: ActivityPausedError

Thrown by an activity whose attempt was paused (pauseActivity, 11 §2.28), after a heartbeat reported paused. The engine does not retry it while the activity is paused, and the workflow sees nothing: its awaitable stays pending until the activity is unpaused or reset.

Extends​

Constructors​

Constructor​

new ActivityPausedError(message?, details?): ActivityPausedError

Parameters​

message?​

string

details?​

Json

Returns​

ActivityPausedError

Overrides​

ApplicationError.constructor

Properties​

category​

readonly category: "BENIGN"

Inherited from​

ApplicationError.category


cause?​

optional cause?: unknown

Inherited from​

ApplicationError.cause


details​

readonly details: Json

Inherited from​

ApplicationError.details


errorType​

readonly errorType: ErrorType

The shared error type the engine classifies this failure as.

Inherited from​

ApplicationError.errorType


message​

message: string

Inherited from​

ApplicationError.message


name​

name: string

Inherited from​

ApplicationError.name


nextRetryDelayMs​

readonly nextRetryDelayMs: number

Inherited from​

ApplicationError.nextRetryDelayMs


nonRetryable​

readonly nonRetryable: boolean

Inherited from​

ApplicationError.nonRetryable


stack?​

optional stack?: string

Inherited from​

ApplicationError.stack


type​

readonly type: string

Inherited from​

ApplicationError.type