Skip to main content

Class: TransactionConflictError

Defined in: packages/client/src/core/transaction-engine/errors.ts:50

Raised by commit when a staged document's base revision no longer matches the stored winner - a direct write, another transaction's commit, or replication moved it. Nothing is written; the transaction stays open for re-staging or discard.

Extends

  • Error

Constructors

Constructor

new TransactionConflictError(conflicts): TransactionConflictError;

Defined in: packages/client/src/core/transaction-engine/errors.ts:53

Parameters

ParameterType
conflictsobject[]

Returns

TransactionConflictError

Overrides

Error.constructor

Properties

PropertyModifierTypeDefault valueOverridesDefined in
conflictsreadonlyobject[]undefined-packages/client/src/core/transaction-engine/errors.ts:52
namepublicstring"TransactionConflictError"Error.namepackages/client/src/core/transaction-engine/errors.ts:51