API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classTiledFormatError
@codexo/exojs-tiled / tiled / stable
Thrown when a Tiled JSON document does not match the expected shape. `source` is the URL of the file being parsed; `path` is a JSON-path-like pointer (e.g. `layers[2].objects[0].properties[1].value`) to the offending value, or `''` for the document root.
6
props
0
methods
0
events
Import
import { TiledFormatError } from '@codexo/exojs-tiled'Thrown when a Tiled JSON document does not match the expected shape. `source` is the URL of the file being parsed; `path` is a JSON-path-like pointer (e.g. `layers[2].objects[0].properties[1].value`) to the offending value, or `''` for the document root.
Constructors1
new(source: string, path: string, message: string): TiledFormatErrorProperties6
cause?: unknownmessage: stringname: stringpath: stringsource: stringstack?: stringSource