API reference › @evolu/common › local‑first/Protocol › ProtocolVersionError

Defined in: packages/common/src/local-first/Protocol.ts:450

Represents a version mismatch in the Evolu Protocol. Occurs when the initiator and non-initiator are using incompatible protocol versions.

Extends

Properties

isInitiator

readonly isInitiator: boolean;

Defined in: packages/common/src/local-first/Protocol.ts:454

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:550

Inherited from

OwnerError.ownerId


type

readonly type: "ProtocolVersionError";

Defined in: packages/common/src/Type.ts:15402

Inherited from

Typed.type


version

readonly version: number & Brand<"NonNaN"> & Brand<"Finite"> & Brand<"Int"> & Brand<"NonNegative">;

Defined in: packages/common/src/local-first/Protocol.ts:452