g3-toolkit API Reference
    Preparing search index...

    Class DocumentParseError

    Base class for every failure of a versioned-JSON parser that cannot degrade.

    Catch this to handle all of them at once; catch a subclass to distinguish "not a document" from "wrong version" from "bad contents".

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    documentKind: DocumentKind

    Which document kind rejected the input.

    path: string

    Slash-path to the offending place, rooted at /. / itself means the whole document.