Error thrown when trying to read more bytes than available.

The part that was read is available in the part property.

Hierarchy

  • RangeError
    • PartialReadError

Constructors

Properties

cause?: unknown
message: string
name: string
part: Uint8Array

the part that was read

stack?: string
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void