Skip to content

WrongPasswordError

Defined in: src/core/crypto/offcrypto.ts:28

Thrown when the bytes are encrypted and the password does not open them.

  • Error

new WrongPasswordError(message?): WrongPasswordError

Defined in: src/core/crypto/offcrypto.ts:30

string = 'Wrong password for this document'

The message to carry; the default states the failure.

WrongPasswordError

Error.constructor

optional cause?: unknown

Defined in: docs/node_modules/typescript/lib/lib.es2022.error.d.ts:24

Error.cause


message: string

Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:1075

Error.message


name: string

Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:1074

Error.name


optional stack?: string

Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:1076

Error.stack