22 lines
802 B
JavaScript
22 lines
802 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.DYNAMIC_ERROR_CODE = void 0;
|
|
const DYNAMIC_ERROR_CODE = 'DYNAMIC_SERVER_USAGE';
|
|
exports.DYNAMIC_ERROR_CODE = DYNAMIC_ERROR_CODE;
|
|
class DynamicServerError extends Error {
|
|
constructor(type){
|
|
super(`Dynamic server usage: ${type}`);
|
|
this.digest = DYNAMIC_ERROR_CODE;
|
|
}
|
|
}
|
|
exports.DynamicServerError = DynamicServerError;
|
|
|
|
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=hooks-server-context.js.map
|