UNPKG

next

Version:

The React Framework

18 lines (17 loc) 501 B
"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