Rocky_Mountain_Vending/.pnpm-store/v10/files/f5/b79a62872735a1375ad3f3136116a5e4012940fa6b56f28f4186b02cd6c95329036d5b6852a3c2d84225a59ca2b7593887a3f220047ded97e69e198702a253
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

9 lines
307 B
Text

export const asSdkError = (error) => {
if (error instanceof Error)
return error;
if (error instanceof Object)
return Object.assign(new Error(), error);
if (typeof error === "string")
return new Error(error);
return new Error(`AWS SDK error wrapper for ${error}`);
};