API reference@evolu/commonlocal‑first/Protocol › ProtocolVersionError

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

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

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

Inherited from

OwnerError.ownerId


type

readonly type: "ProtocolVersionError";

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

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