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

MapLoadError

A map that did not load: a Landscape that waits for it throws this into its boundary, and no ground stands, so a page shows the game’s error screen and a room’s scene does not mount.

  • Error

new MapLoadError(failure, map, reason): MapLoadError

Parameter Type
failure MapLoadFailure
map string
reason Error

MapLoadError

Error.constructor

readonly failure: MapLoadFailure

The step that failed: the import, or the schema’s read of the file.


readonly map: string

The map’s name, as registered, or materials for the game’s materials.json.