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

//# sourceMappingURL=FileUploadError.js.map