silverwolf-x/project / packages /next /src /shared /lib /ppr-removed-error.ts
silverwolf-x's picture
download
raw
508 Bytes
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(): never {
throw new InvariantError(
'The prerender-ppr work unit type has been removed. This code path should be unreachable.'
)
}

Xet Storage Details

Size:
508 Bytes
·
Xet hash:
53656a7dd380702b408f1f6ab93d4d72173e2db54a2f4421a2cef924c19aa7c1

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.