API reference / @evolu/common / local-first/Protocol / ProtocolQuotaError

Interface: ProtocolQuotaError

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

Error when storage or billing quota is exceeded.

When relay rejects writes due to quota, the affected device stops syncing because RBSR requires both sides to converge—if the relay won't accept the client's data, they can never reach the same state. Only the device with excess local data is affected. Other devices that haven't exceeded quota can still sync normally.

Clients should prompt the user to contact the relay provider or upgrade their plan. Quota monitoring and management is the relay provider's responsibility.

Extends

Properties

PropertyModifierTypeInherited fromDefined in
ownerIdreadonlystring & Brand<"Id"> & Brand<"OwnerId">BaseOwnerError.ownerIdpackages/common/src/local-first/Owner.ts:388
typereadonly"ProtocolQuotaError"-packages/common/src/local-first/Protocol.ts:426

Was this page helpful?