securityos/node_modules/next/dist/esm/client/components/is-next-router-error.js

7 lines
275 B
JavaScript

import { isNotFoundError } from "./not-found";
import { isRedirectError } from "./redirect";
export function isNextRouterError(error) {
return error && error.digest && (isRedirectError(error) || isNotFoundError(error));
}
//# sourceMappingURL=is-next-router-error.js.map