22 lines
793 B
JavaScript
22 lines
793 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.notFound = notFound;
|
|
exports.NOT_FOUND_ERROR_CODE = void 0;
|
|
const NOT_FOUND_ERROR_CODE = 'NEXT_NOT_FOUND';
|
|
exports.NOT_FOUND_ERROR_CODE = NOT_FOUND_ERROR_CODE;
|
|
function notFound() {
|
|
// eslint-disable-next-line no-throw-literal
|
|
const error = new Error(NOT_FOUND_ERROR_CODE);
|
|
error.digest = NOT_FOUND_ERROR_CODE;
|
|
throw error;
|
|
}
|
|
|
|
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
|
Object.defineProperty(exports.default, '__esModule', { value: true });
|
|
Object.assign(exports.default, exports);
|
|
module.exports = exports.default;
|
|
}
|
|
|
|
//# sourceMappingURL=not-found.js.map
|