import { translations } from '@payloadcms/translations/api';
import httpStatus from 'http-status';
import APIError from './APIError.js';
class ErrorDeletingFile extends APIError {
    constructor(t){
        super(t ? t('error:deletingFile') : translations.en.error.deletingFile, httpStatus.INTERNAL_SERVER_ERROR);
    }
}
export default ErrorDeletingFile;

//# sourceMappingURL=ErrorDeletingFile.js.map