PasswordValidationError
For the complete documentation index, see llms.txt
Midnight.js API Reference v4.1.0
Midnight.js API Reference / @midnight-ntwrk/midnight-js-utils / PasswordValidationError
Class: PasswordValidationError
Thrown when a password does not satisfy the strength policy applied to private storage and export/import operations.
Extends
Error
Constructors
Constructor
new PasswordValidationError(
message,reason):PasswordValidationError
Parameters
message
string
reason
Returns
PasswordValidationError
Overrides
Error.constructor
Properties
reason
readonlyreason:PasswordValidationFailure