Rocky_Mountain_Vending/.pnpm-store/v10/files/7c/49053d02cf10eb39b402a0d16df3107a07d8b90484f2f6df65e279058d0df20fa5685c1f1a05536e2da6661fe5a9038a80bfbbbfdd8b10211da75d36419791
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

22 lines
790 B
Text

export declare class UnrecognizedActionError extends Error {
constructor(...args: ConstructorParameters<typeof Error>);
}
/**
* Check whether a server action call failed because the server action was not recognized by the server.
* This can happen if the client and the server are not from the same deployment.
*
* Example usage:
* ```ts
* try {
* await myServerAction();
* } catch (err) {
* if (unstable_isUnrecognizedActionError(err)) {
* // The client is from a different deployment than the server.
* // Reloading the page will fix this mismatch.
* window.alert("Please refresh the page and try again");
* return;
* }
* }
* ```
* */
export declare function unstable_isUnrecognizedActionError(error: unknown): error is UnrecognizedActionError;