Skip to content

AuthenticationError

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

AEAD authentication failed. A wrong key and modified authenticated data are intentionally reported as the same error.

new AuthenticationError(message?): AuthenticationError

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

Parameter Type
message? string

AuthenticationError

EnvelopeError.constructor

new AuthenticationError(message?, options?): AuthenticationError

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

Parameter Type
message? string
options? ErrorOptions

AuthenticationError

EnvelopeError.constructor

name: string = 'AuthenticationError'

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

EnvelopeError.name