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
| Parameter | Type |
|---|---|
conflicts | object[] |
Returns
TransactionConflictError
Overrides
Error.constructor
Properties
| Property | Modifier | Type | Default value | Overrides | Defined in |
|---|---|---|---|---|---|
conflicts | readonly | object[] | undefined | - | packages/client/src/core/transaction-engine/errors.ts:52 |
name | public | string | "TransactionConflictError" | Error.name | packages/client/src/core/transaction-engine/errors.ts:51 |