Skip to content

InvalidPlaintextLengthError

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

plaintextLength is not a non-negative safe integer or exceeds the limit for the selected scheme or encoded layout.

new InvalidPlaintextLengthError(message?): InvalidPlaintextLengthError

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

Parameter Type
message? string

InvalidPlaintextLengthError

EnvelopeError.constructor

new InvalidPlaintextLengthError(message?, options?): InvalidPlaintextLengthError

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

Parameter Type
message? string
options? ErrorOptions

InvalidPlaintextLengthError

EnvelopeError.constructor

name: string = 'InvalidPlaintextLengthError'

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

EnvelopeError.name