UNPKG

payload

Version:

Node, React, Headless CMS and Application Framework built on Next.js

10 lines (9 loc) 393 B
import { en } from '@payloadcms/translations/languages/en'; import { status as httpStatus } from 'http-status'; import { APIError } from './APIError.js'; export class ErrorDeletingFile extends APIError { constructor(t){ super(t ? t('error:deletingFile') : en.translations.error.deletingFile, httpStatus.INTERNAL_SERVER_ERROR); } } //# sourceMappingURL=ErrorDeletingFile.js.map