import { translations } from '@payloadcms/translations/api';
import httpStatus from 'http-status';
import APIError from './APIError.js';
class NotFound extends APIError {
    constructor(t){
        super(t ? t('general:notFound') : translations.en.general.notFound, httpStatus.NOT_FOUND);
    }
}
export default NotFound;

//# sourceMappingURL=NotFound.js.map