Class: TransactionUnsupportedDocError
Defined in: packages/client/src/core/transaction-engine/errors.ts:67
Raised at stage time for documents transactions cannot carry: class models (their
write propagates to other documents mid-pipeline and cannot be staged or rolled
back - ADR-0039), _local/ device state, and design documents.
Extends
Error
Constructors
Constructor
new TransactionUnsupportedDocError(docId, reason): TransactionUnsupportedDocError;
Defined in: packages/client/src/core/transaction-engine/errors.ts:69
Parameters
| Parameter | Type |
|---|---|
docId | string |
reason | string |
Returns
TransactionUnsupportedDocError
Overrides
Error.constructor
Properties
| Property | Type | Default value | Overrides | Defined in |
|---|---|---|---|---|
name | string | "TransactionUnsupportedDocError" | Error.name | packages/client/src/core/transaction-engine/errors.ts:68 |