rmapi-js
    Preparing search index...

    Class ArchiveError

    an archive could not be written or read

    Hierarchy (View Summary)

    Index
    • Parameters

      • Optionalmessage: string

      Returns ArchiveError

    • Parameters

      • Optionalmessage: string
      • Optionaloptions: ErrorOptions

      Returns ArchiveError

    • Parameters

      • Optionalmessage: string
      • Optionaloptions: ErrorOptions

      Returns ArchiveError

    id?: string

    the id a misnamed file names

    kind?: string

    the kind of item its metadata names, for "notADocument"

    limit?: bigint

    the most bytes it may unpack to, for "tooLarge"

    path?: string

    the path in the archive of the file at fault

    reason:
        | "metadata"
        | "unreadable"
        | "unwritable"
        | "tooLarge"
        | "noMetadata"
        | "nestedMetadata"
        | "misnamedFile"
        | "unusableName"
        | "notADocument"

    why: the archive cannot be read or written, or what in it is wrong

    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