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
| Property | Modifier | Type | Inherited from | Defined in |
|---|---|---|---|---|
ownerId | readonly | string & Brand<"Id"> & Brand<"OwnerId"> | BaseOwnerError.ownerId | packages/common/src/local-first/Owner.ts:388 |
type | readonly | "ProtocolQuotaError" | - | packages/common/src/local-first/Protocol.ts:426 |