import { AppError } from '@app/core/errors/app-error.js';

/**
 * Required param is missing
 */
export class ParameterMissingError extends AppError {
    constructor(parameterName: string) {
        // Override both message and status code.
        super(`Param missing: ${parameterName}`, 500);
    }
}
