Rocky_Mountain_Vending/.pnpm-store/v10/files/3b/d0953ff9107c335fab874d7f450bec7ac967a16727184a2dd7fa257b92829784f9f8a59c48ed816432a2ff8f1624dd2b666c032672ad02dd2c4e7c2a73df86
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

10 lines
650 B
Text

/**
* Augments the digest field of errors thrown in React Server Components (RSC) with an error code.
* Since RSC errors can only be serialized through the digest field, this provides a way to include
* an additional error code that can be extracted client-side via `extractNextErrorCode`.
*
* The error code is appended to the digest string with a semicolon separator, allowing it to be
* parsed out later while preserving the original digest value.
*/
export declare const createDigestWithErrorCode: (thrownValue: unknown, originalDigest: string) => string;
export declare const extractNextErrorCode: (error: unknown) => string | undefined;