@nevis-security/nevis-mobile-authentication-sdk-react
Version:
React Native plugin for Nevis Mobile Authentication SDK. Supports only mobile.
37 lines (33 loc) • 1.09 kB
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.PasswordEnrollmentCustomValidationError = void 0;
var _PasswordEnrollmentError = require("./PasswordEnrollmentError");
/**
* Copyright © 2024 Nevis Security AG. All rights reserved.
*/
/**
* The provided password has failed the validation done in {@link PasswordPolicy.validatePasswordForEnrollment}.
*/
class PasswordEnrollmentCustomValidationError extends _PasswordEnrollmentError.PasswordEnrollmentError {
/**
* Provides details about the error that occurred.
*/
/**
* The exception (if any) that caused this error.
*/
/**
* The default constructor.
*
* @param description provides details about the error that occurred.
* @param cause the exception (if any) that caused this error.
*/
constructor(description, cause) {
super();
this.description = description;
this.cause = cause;
}
}
exports.PasswordEnrollmentCustomValidationError = PasswordEnrollmentCustomValidationError;
//# sourceMappingURL=PasswordEnrollmentCustomValidationError.js.map
;