NeahNew/node_modules/next/dist/shared/lib/invariant-error.js
2025-05-03 14:17:46 +02:00

18 lines
501 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