drupflare/worker - v1.0.4
    Preparing search index...

    Class HeapChunkDigestError

    A chunk whose stored bytes disagree with its stored digest.

    bytesWritten says what the caller owes: on the first chunk the heap is untouched (boot from the pack); at chunk N the heap has the right length and wrong bytes and must be dropped.

    Hierarchy

    • Error
      • HeapChunkDigestError
    Index
    • Parameters

      • opts: {
            actual: string;
            bytesWritten: number;
            chunksApplied: number;
            expected: string;
            seq: number;
        }

      Returns HeapChunkDigestError

    actual: string

    the digest of the bytes read, or why they would not inflate

    bytesWritten: number

    bytes this call had already applied to the live heap before it refused

    chunksApplied: number

    chunks this call had already applied

    expected: string

    the digest stored with the chunk

    seq: number

    the chunk sequence number that failed