Skip to main content

Class: ReplayError

worker.ReplayError

Error thrown when using the Worker to replay Workflow(s).

Hierarchy

  • Error

    ReplayError

Constructors

constructor

new ReplayError(workflowId, runId, isNonDeterminism, message)

Parameters

NameTypeDescription
workflowIdstringWorkflow ID of the Workflow that failed to replay
runIdstringRun ID of the Workflow that failed to replay
isNonDeterminismbooleanWhether or not this error is caused by non-determinism
messagestringWhy replay failed

Overrides

Error.constructor

Properties

isNonDeterminism

Readonly isNonDeterminism: boolean

Whether or not this error is caused by non-determinism


message

message: string

Inherited from

Error.message


name

Readonly name: "ReplayError"

Overrides

Error.name


runId

runId: string

Run ID of the Workflow that failed to replay


stack

Optional stack: string

Inherited from

Error.stack


workflowId

Readonly workflowId: string

Workflow ID of the Workflow that failed to replay


prepareStackTrace

Static Optional prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any

Type declaration

▸ (err, stackTraces): any

Optional override for formatting stack traces

See

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

Parameters
NameType
errError
stackTracesCallSite[]
Returns

any

Inherited from

Error.prepareStackTrace


stackTraceLimit

Static stackTraceLimit: number

Inherited from

Error.stackTraceLimit

Methods

captureStackTrace

Static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

NameType
targetObjectobject
constructorOpt?Function

Returns

void

Inherited from

Error.captureStackTrace