Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
12
node_modules/next/dist/esm/client/components/unstable-rethrow.browser.js
generated
vendored
Normal file
12
node_modules/next/dist/esm/client/components/unstable-rethrow.browser.js
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import { isBailoutToCSRError } from '../../shared/lib/lazy-dynamic/bailout-to-csr';
|
||||
import { isNextRouterError } from './is-next-router-error';
|
||||
export function unstable_rethrow(error) {
|
||||
if (isNextRouterError(error) || isBailoutToCSRError(error)) {
|
||||
throw error;
|
||||
}
|
||||
if (error instanceof Error && 'cause' in error) {
|
||||
unstable_rethrow(error.cause);
|
||||
}
|
||||
}
|
||||
|
||||
//# sourceMappingURL=unstable-rethrow.browser.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue