rmapi-js
    Preparing search index...

    Class ReadError

    the bytes are not a .rm page the core reads

    Hierarchy (View Summary)

    Index
    • Parameters

      • Optionalmessage: string

      Returns ReadError

    • Parameters

      • Optionalmessage: string
      • Optionaloptions: ErrorOptions

      Returns ReadError

    • Parameters

      • Optionalmessage: string
      • Optionaloptions: ErrorOptions

      Returns ReadError

    count?: number

    the count, for "countTooLarge"

    header?: Uint8Array<ArrayBufferLike>

    the bytes where a header would be, for "notRm"

    reason:
        | "tooShort"
        | "notRm"
        | "notVersion6"
        | "tooManyBlocks"
        | "unsupportedVersion"
        | "countTooLarge"

    which way it failed: too short, not a .rm header, not a version 6 header, more blocks than a page may hold, a version the core does not read, or a version 3 or 5 page counting more than its bytes hold

    remaining?: number

    the bytes left, for "countTooLarge"

    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

    version?: string

    the version character in the header, for "unsupportedVersion"