Framework
TransactionConflictError
Class: TransactionConflictError
Thrown when a transaction conflict is detected (optimistic locking failure).
Extends
Constructors
new TransactionConflictError()
new TransactionConflictError(message, options?): TransactionConflictErrorParameters
| Parameter | Type |
|---|---|
message | string |
options? | { actualVersion: number; cause: Error; expectedVersion: number; id: string; model: string; } |
options.actualVersion? | number |
options.cause? | Error |
options.expectedVersion? | number |
options.id? | string |
options.model? | string |
Returns
Overrides
Properties
| Property | Modifier | Type | Inherited from |
|---|---|---|---|
actualVersion? | readonly | number | - |
code | readonly | string | FlashcoreError.code |
expectedVersion? | readonly | number | - |
id? | readonly | string | - |
model? | readonly | string | - |
