Skip to content

InvalidPlaintextError

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

Plaintext supplied to an encryption operation is not a byte string.

new InvalidPlaintextError(message?): InvalidPlaintextError

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

Parameter Type
message? string

InvalidPlaintextError

EnvelopeError.constructor

new InvalidPlaintextError(message?, options?): InvalidPlaintextError

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

Parameter Type
message? string
options? ErrorOptions

InvalidPlaintextError

EnvelopeError.constructor

name: string = 'InvalidPlaintextError'

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

EnvelopeError.name