Rocky_Mountain_Vending/.pnpm-store/v10/files/37/e87eeae7d2a378305129fe5faa71d1f31636f5356aaa0773c66edf35b893c0c7c6b84f5361e69074f0865389fb2db7a799cd551583af51269c4df4a532ef5e
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

17 lines
633 B
Text

import { RedirectStatusCode } from './redirect-status-code';
export declare const REDIRECT_ERROR_CODE = "NEXT_REDIRECT";
export declare enum RedirectType {
push = "push",
replace = "replace"
}
export type RedirectError = Error & {
digest: `${typeof REDIRECT_ERROR_CODE};${RedirectType};${string};${RedirectStatusCode};`;
};
/**
* Checks an error to determine if it's an error generated by the
* `redirect(url)` helper.
*
* @param error the error that may reference a redirect error
* @returns true if the error is a redirect error
*/
export declare function isRedirectError(error: unknown): error is RedirectError;