import BaseException from "./base.exception"; /** * @fileoverview Invalid Password exception (HTTP 401) * @author dr. Salmi */ /** * Exception thrown when password authentication fails. * Corresponds to HTTP 401 Unauthorized status code (changed from 403 for consistency). * * @class InvalidPasswordException * @extends {BaseException} * @example * ```typescript * throw new InvalidPasswordException('Password is incorrect'); * throw new InvalidPasswordException('Password does not meet requirements', { * requirements: ['minLength', 'uppercase'] * }); * ``` */ declare class InvalidPasswordException extends BaseException { /** * Creates an instance of InvalidPasswordException. * * @param {string} [message='Invalid password'] - The error message * @param {Record} [context] - Additional context about the password validation failure * @memberof InvalidPasswordException */ constructor(message?: string, context?: Record); } export default InvalidPasswordException;