API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

C

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.

Constructors 1
new(source: string, path: string, message: string): TiledFormatError
Properties 6
cause: unknown
message: string
name: string
path: string
source: string
stack: string
Source