Index

PathError

MMO · 1 symbol · generated 5 Oct 2026

class

PathError

Error.js:75

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

class MMO.PathError extends MMO.ReferenceError
Namespace
MMO
Extends
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.

Properties1

Methods3

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
returnsstring | 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
returnsstring | Arraythe trailing part of the path that did NOT resolve