Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

LiveStateRefusal

Why a write of a live state was not taken.

InvalidState: "invalid-state"

The state’s schema refuses it.


NoLiveState: "no-live-state"

The version the writer runs declares no live state of that name.


NoRoom: "no-room"

No room runs here: a page or a game played alone reads live state, and only a room or the creator writes it.


RateLimited: "rate-limited"

Past 6 writes a minute for the game, counted on writes that landed.


StaleRevision: "stale-revision"

Another write landed since the revision the writer read: read the state again and write from it.


TooLarge: "too-large"

Past 1 KiB as JSON.


Unavailable: "unavailable"

The platform could not be reached.