This repository has been archived on 2026-05-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
novarix-networks-homepage/node_modules/next/dist/esm/client/components/unstable-rethrow.browser.js
T
Kismet Hasanaj 34dc9aec52 .
2026-05-02 20:07:02 +02:00

12 lines
433 B
JavaScript

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