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>
23 lines
No EOL
871 B
Text
23 lines
No EOL
871 B
Text
import type { Client } from '@sentry/core';
|
|
type UnhandledRejectionMode = 'none' | 'warn' | 'strict';
|
|
interface OnUnhandledRejectionOptions {
|
|
/**
|
|
* Option deciding what to do after capturing unhandledRejection,
|
|
* that mimicks behavior of node's --unhandled-rejection flag.
|
|
*/
|
|
mode: UnhandledRejectionMode;
|
|
}
|
|
/**
|
|
* Add a global promise rejection handler.
|
|
*/
|
|
export declare const onUnhandledRejectionIntegration: (options?: Partial<OnUnhandledRejectionOptions> | undefined) => import("@sentry/core").Integration;
|
|
/**
|
|
* Send an exception with reason
|
|
* @param reason string
|
|
* @param promise promise
|
|
*
|
|
* Exported only for tests.
|
|
*/
|
|
export declare function makeUnhandledPromiseHandler(client: Client, options: OnUnhandledRejectionOptions): (reason: unknown, promise: unknown) => void;
|
|
export {};
|
|
//# sourceMappingURL=onunhandledrejection.d.ts.map |