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

DeliveryRefusal

Why deliver sent nothing. Nothing was queued, so the caller keeps what it would have taken out.

InvalidId: "invalid-id"

Its id is not 1 to 128 printable characters.


InvalidPayload: "invalid-payload"

Its payload is not what its kind’s schema reads.


NoReceiveHook: "no-receive-hook"

The receiver’s record has no onDepositReceive hook for its kind: the game’s deposits for a player’s record or the world’s, or the keyed save’s own declaration.


NotHeld: "not-held"

The room holds no such source, or runs none: a page sends none.


NotInTransaction: "not-in-transaction"

It was not called inside transact, which takes the payload out of the source in the same change.


ReceiverBusy: "receiver-busy"

The source sent this receiver 5 deposits in the last minute.


SenderBusy: "sender-busy"

The source sent 20 deposits in the last minute.


SourceClosing: "source-closing"

The source’s record was read for the last time, as its player left or its key closed: nothing more leaves it.


TooLarge: "too-large"

Its payload is past 16 KiB as JSON.