/**
 * Copyright © 2024 Nevis Security AG. All rights reserved.
 */

import { RecoverableError } from '../RecoverableError';

/**
 * The recoverable error that can occur when verifying the user with a password.
 *
 * When this error occurs, the {@link PasswordUserVerifier.verifyPassword} method will be invoked again.
 * This error will be returned by the {@link PasswordUserVerificationContext.lastRecoverableError}.
 *
 * Currently, this is always a {@link PasswordUserVerificationInvalidPassword}.
 */
export abstract class PasswordUserVerificationError extends RecoverableError {}
