Skip to content

InvalidSourceLengthError

Defined in: packages/filecoin-encryption-envelope/src/errors.ts:94

A random-access source’s size is invalid, or an opened range produced fewer or more bytes than requested. A transport or source fault, not a bad ciphertext layout.

new InvalidSourceLengthError(message?): InvalidSourceLengthError

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1080

Parameter Type
message? string

InvalidSourceLengthError

EnvelopeError.constructor

new InvalidSourceLengthError(message?, options?): InvalidSourceLengthError

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1080

Parameter Type
message? string
options? ErrorOptions

InvalidSourceLengthError

EnvelopeError.constructor

name: string = 'InvalidSourceLengthError'

Defined in: packages/filecoin-encryption-envelope/src/errors.ts:95

EnvelopeError.name