rmapi-js
    Preparing search index...

    Class LoadError

    what the library saved cannot be loaded

    Hierarchy (View Summary)

    Index
    • Parameters

      • Optionalmessage: string

      Returns LoadError

    • Parameters

      • Optionalmessage: string
      • Optionaloptions: ErrorOptions

      Returns LoadError

    • Parameters

      • Optionalmessage: string
      • Optionaloptions: ErrorOptions

      Returns LoadError

    expected?: number | bigint

    the version or log entry expected, for "version" and "gap"

    found?: number | bigint

    the version or log entry found, for "version" and "gap"

    reason: "version" | "state" | "malformed" | "gap"

    why: the state store failed, the state is of another version, is not a snapshot or log entry, or the log is missing entries

    startFresh?: (options?: LibraryOptions) => Promise<Library>

    clear the platform's state store and start an empty library of the client the load was given, which drops the edits the state held; the blobs in the store stay. Library.load sets it on the error it throws, once; it throws a LoadError with reason "state" if the state store could not be cleared

    transient: boolean

    whether the same call may succeed later: no answer, a 408, 429 or 5xx, a lost race, or a blob that did not match its hash