@r1tsu/payload
Version:
11 lines (10 loc) • 359 B
JavaScript
import { en } from '@payloadcms/translations/languages/en';
import httpStatus from 'http-status';
import APIError from './APIError.js';
class NotFound extends APIError {
constructor(t){
super(t ? t('general:notFound') : en.translations.general.notFound, httpStatus.NOT_FOUND);
}
}
export default NotFound;
//# sourceMappingURL=NotFound.js.map