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.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new MapLoadError(
failure,map,reason):MapLoadError
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
failure |
MapLoadFailure |
map |
string |
reason |
Error |
Returns
Section titled “Returns”MapLoadError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”failure
Section titled “failure”
readonlyfailure:MapLoadFailure
The step that failed: the import, or the schema’s read of the file.
readonlymap:string
The map’s name, as registered, or materials for the game’s
materials.json.