UNPKG

next

Version:

The React Framework

15 lines (14 loc) 673 B
import { InvariantError } from './invariant-error'; /** * Throws an InvariantError indicating that a prerender-ppr code path was * reached. The prerender-ppr work unit type has been removed and all code * handling it is dead. Use this in exhaustive switch cases while the * prerender-ppr type is being cleaned up. */ export function throwPrerenderPPRRemovedError() { throw Object.defineProperty(new InvariantError('The prerender-ppr work unit type has been removed. This code path should be unreachable.'), "__NEXT_ERROR_CODE", { value: "E1158", enumerable: false, configurable: true }); } //# sourceMappingURL=ppr-removed-error.js.map