API reference › @evolu/common › local‑first/Protocol › ProtocolVersionError
Defined in: packages/common/src/local-first/Protocol.ts:424
Represents a version mismatch in the Evolu Protocol. Occurs when the initiator and non-initiator are using incompatible protocol versions.
Extends
OwnerError.Typed<"ProtocolVersionError">
Properties
isInitiator
readonly isInitiator: boolean;
Defined in: packages/common/src/local-first/Protocol.ts:428
Indicates which side is obsolete and should update.
ownerId
readonly ownerId: string & Brand<"Id"> & Brand<"OwnerId">;
Defined in: packages/common/src/local-first/Owner.ts:404
Inherited from
type
readonly type: "ProtocolVersionError";
Defined in: packages/common/src/Type.ts:3492
Inherited from
version
readonly version: number & Brand<"Int"> & Brand<"NonNegative">;
Defined in: packages/common/src/local-first/Protocol.ts:426