import BaseException from "./base.exception"; /** * @fileoverview Internal Server Error exception (HTTP 500) * @author dr. Salmi */ /** * Exception thrown when an unexpected server error occurs. * Corresponds to HTTP 500 Internal Server Error status code. * * @class InternalServerErrorException * @extends {BaseException} * @example * ```typescript * throw new InternalServerErrorException('Database connection failed'); * throw new InternalServerErrorException('Unexpected error occurred', { operation: 'user-creation' }); * ``` */ declare class InternalServerErrorException extends BaseException { /** * Creates an instance of InternalServerErrorException. * * @param {string} [message='Internal Server Error'] - The error message * @param {Record} [context] - Additional context about the internal error * @memberof InternalServerErrorException */ constructor(message?: string, context?: Record); } export default InternalServerErrorException;