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
Name | Type | Description |
---|---|---|
workflowId | string | Workflow ID of the Workflow that failed to replay |
runId | string | Run ID of the Workflow that failed to replay |
isNonDeterminism | boolean | Whether or not this error is caused by non-determinism |
message | string | Why 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
Name | Type |
---|---|
err | Error |
stackTraces | CallSite [] |
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
Name | Type |
---|---|
targetObject | object |
constructorOpt? | Function |
Returns
void
Inherited from
Error.captureStackTrace