API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classMapSpawnError
@codexo/exojs-tilemap / tilemap / stable
A spawn failed. The whole spawn is rolled back before this is thrown - no partial session exists. For `'factory-failed'` the error a factory raised is preserved as `cause`.
7
props
0
methods
0
events
Import
import { MapSpawnError } from '@codexo/exojs-tilemap'A spawn failed. The whole spawn is rolled back before this is thrown - no partial session exists.
For `'factory-failed'` the error a factory raised is preserved as `cause`.
Constructors1
new(reason: MapSpawnErrorReasonWhy a MapSpawnError was raised., objectId: string, kind: null | string, message: string, options?: ErrorOptions): MapSpawnErrorProperties7
cause?: unknownkind: null | stringMapObjectDescriptor.kind of the object that failed.
message: stringname: "MapSpawnError"objectId: stringMapObjectDescriptor.id of the object that failed.
stack?: stringSource