MMOframework
Pourquoi l'IA Playground Bibliothèques Documentation Rechercher Agence
FR EN
Index

PathError

MMO · 1 symbole · générée le 27 Oct 2026

class

PathError

Error.js:75

A json path that could not be walked to the end.

class MMO.PathError extends MMO.ReferenceError
Espace de noms
MMO
Étend
ReferenceError
It remembers WHERE the walk stopped, so a caller can tell the part that resolved from the part that did not, and create the missing levels itself.

Propriétés1

Méthodes3

constructor(origin, path, errorIndex)

Error.js:76
constructor(origin, path, errorIndex)
origin
path
errorIndex

getValidPath(join)

Error.js:96
getValidPath(join = true)
join = truebooleanreturn a string rather than an array of segments
retournestring | Arraythe leading part of the path that DID resolve

getInvalidPath(join)

Error.js:105
getInvalidPath(join = true)
join = truebooleanreturn a string rather than an array of segments
retournestring | Arraythe trailing part of the path that did NOT resolve