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

SavedEntityRestoreError

What setSavedEntity throws where the entity’s restore threw. A join it ran in is refused whole. After the player’s join, a page’s save refuses its load, and a room keeps that name’s record as stored and takes the player out. Catching it takes none of that back; a game catches it to log or tidy up.

  • Error

new SavedEntityRestoreError(savedAs): SavedEntityRestoreError

Parameter Type
savedAs string

SavedEntityRestoreError

Error.constructor