API reference / @evolu/common / local-first/Protocol / ProtocolVersionError
Interface: ProtocolVersionError
Defined in: packages/common/src/local-first/Protocol.ts:385
Represents a version mismatch in the Evolu Protocol. Occurs when the initiator and non-initiator are using incompatible protocol versions.
Extends
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
isInitiator | readonly | boolean | Indicates which side is obsolete and should update. | - | packages/common/src/local-first/Protocol.ts:389 |
ownerId | readonly | string & Brand<"Id"> & Brand<"OwnerId"> | - | BaseOwnerError.ownerId | packages/common/src/local-first/Owner.ts:388 |
type | readonly | "ProtocolVersionError" | - | - | packages/common/src/local-first/Protocol.ts:386 |
version | readonly | number & Brand<"Int"> & Brand<"NonNegative"> | - | - | packages/common/src/local-first/Protocol.ts:387 |