UNPKG

@nevis-security/nevis-mobile-authentication-sdk-react

Version:

React Native plugin for Nevis Mobile Authentication SDK. Supports only mobile.

33 lines (28 loc) 860 B
"use strict"; /** * Copyright © 2024 Nevis Security AG. All rights reserved. */ import { PasswordEnrollmentError } from './PasswordEnrollmentError'; /** * The provided password has failed the validation done in {@link PasswordPolicy.validatePasswordForEnrollment}. */ export class PasswordEnrollmentCustomValidationError extends 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; } } //# sourceMappingURL=PasswordEnrollmentCustomValidationError.js.map