Class: DeterminismViolationError
workflow.DeterminismViolationError
Thrown in workflow when it tries to do something that non-deterministic such as construct a WeakRef()
Hierarchy
-
↳
DeterminismViolationError
Constructors
constructor
• new DeterminismViolationError(message?
): DeterminismViolationError
Parameters
Name | Type |
---|---|
message? | string |
Returns
Inherited from
• new DeterminismViolationError(message?
, options?
): DeterminismViolationError
Parameters
Name | Type |
---|---|
message? | string |
options? | ErrorOptions |
Returns
Inherited from
Properties
cause
• Optional
cause: unknown
Inherited from
message
• message: string
Inherited from
name
• name: string
Inherited from
stack
• Optional
stack: string
Inherited from
prepareStackTrace
▪ Static
Optional
prepareStackTrace: (err
: Error
, stackTraces
: CallSite
[]) => any
Optional override for formatting stack traces
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Type declaration
▸ (err
, stackTraces
): any
Optional override for formatting stack traces
Parameters
Name | Type |
---|---|
err | Error |
stackTraces | CallSite [] |
Returns
any
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Inherited from
WorkflowError.prepareStackTrace
stackTraceLimit
▪ Static
stackTraceLimit: number
Inherited from
Methods
captureStackTrace
▸ captureStackTrace(targetObject
, constructorOpt?
): void
Create .stack property on a target object
Parameters
Name | Type |
---|---|
targetObject | object |
constructorOpt? | Function |
Returns
void