.
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
"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
|
||||
Reference in New Issue
Block a user