UNPKG

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

Version:

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

33 lines (28 loc) 834 B
/** * Copyright © 2024 Nevis Security AG. All rights reserved. */ import { PasswordChangeRecoverableError } from './PasswordChangeRecoverableError'; /** * The old and new passwords are equal. The new password must be different from the old password. */ export class PasswordChangeRecoverableOldPasswordEqualsNewPassword extends PasswordChangeRecoverableError { /** * Provides details about the error that occurred. */ description: string; /** * The exception (if any) that caused this error. */ cause?: string; /** * The default constructor. * * @param description provides details about the error that occurred. * @param cause the exception (if any) that caused this error. */ constructor(description: string, cause?: string) { super(); this.description = description; this.cause = cause; } }