WrongPasswordError
Defined in: src/core/crypto/offcrypto.ts:28
Thrown when the bytes are encrypted and the password does not open them.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new WrongPasswordError(
message?):WrongPasswordError
Defined in: src/core/crypto/offcrypto.ts:30
Parameters
Section titled “Parameters”message?
Section titled “message?”string = 'Wrong password for this document'
The message to carry; the default states the failure.
Returns
Section titled “Returns”WrongPasswordError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”cause?
Section titled “cause?”
optionalcause?:unknown
Defined in: docs/node_modules/typescript/lib/lib.es2022.error.d.ts:24
Inherited from
Section titled “Inherited from”Error.cause
message
Section titled “message”message:
string
Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:1075
Inherited from
Section titled “Inherited from”Error.message
name:
string
Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:1074
Inherited from
Section titled “Inherited from”Error.name
stack?
Section titled “stack?”
optionalstack?:string
Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
Section titled “Inherited from”Error.stack