import { en } from '@payloadcms/translations/languages/en';
import httpStatus from 'http-status';
import APIError from './APIError.js';
class MissingFile extends APIError {
    constructor(t){
        super(t ? t('error:noFilesUploaded') : en.translations.error.noFilesUploaded, httpStatus.BAD_REQUEST);
    }
}
export default MissingFile;

//# sourceMappingURL=MissingFile.js.map