LogConflictError
Class: LogConflictError#
Defined in: packages/workflow-core/src/types.ts:611
Thrown by RunStore.appendEvent when another writer has already committed a record at the requested index. The engine catches it and decides whether to treat as idempotent (same signalId) or as a lost race (different signalId).
Extends#
- Error
Constructors#
Constructor#
new LogConflictError(
runId,
attemptedIndex,
existing?): LogConflictError;Defined in: packages/workflow-core/src/types.ts:613
Parameters#
runId#
string
attemptedIndex#
number
existing?#
Returns#
LogConflictError
Overrides#
Error.constructorProperties#
attemptedIndex#
readonly attemptedIndex: number;Defined in: packages/workflow-core/src/types.ts:615
cause?#
optional cause: unknown;Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts:24
Inherited from#
Error.causeexisting?#
readonly optional existing: WorkflowEvent;Defined in: packages/workflow-core/src/types.ts:616
message#
message: string;Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1075
Inherited from#
Error.messagename#
readonly name: "LogConflictError" = 'LogConflictError';Defined in: packages/workflow-core/src/types.ts:612
Overrides#
Error.namerunId#
readonly runId: string;Defined in: packages/workflow-core/src/types.ts:614
stack?#
optional stack: string;Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from#
Error.stack