Rocky_Mountain_Vending/.pnpm-store/v10/files/68/16161a6e559f3adbe10f0ac0320c2049ab727915681579448241d6c3cd565e5eeba5b1f104b605a98c2bc323f72532625478958342e5ab968fd41ba23ff1ff
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

15 lines
342 B
Text

/* IMPORT */
/* MAIN */
const attemptifySync = (fn, options) => {
const { onError } = options;
return function attemptified(...args) {
try {
return fn.apply(undefined, args);
}
catch (error) {
return onError(error);
}
}; //TSC
};
/* EXPORT */
export default attemptifySync;