lingjing/node_modules/next/dist/shared/lib/invariant-error.js
2026-02-23 09:51:43 +00:00

18 lines
494 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "InvariantError", {
enumerable: true,
get: function() {
return InvariantError;
}
});
class InvariantError extends Error {
constructor(message, options){
super(`Invariant: ${message.endsWith('.') ? message : message + '.'} This is a bug in Next.js.`, options);
this.name = 'InvariantError';
}
}
//# sourceMappingURL=invariant-error.js.map