Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
18 lines
832 B
Plaintext
18 lines
832 B
Plaintext
import { Event, Primitive } from '@sentry/core';
|
|
type GlobalHandlersIntegrationsOptionKeys = 'onerror' | 'onunhandledrejection';
|
|
type GlobalHandlersIntegrations = Record<GlobalHandlersIntegrationsOptionKeys, boolean>;
|
|
export declare const globalHandlersIntegration: (options?: Partial<GlobalHandlersIntegrations> | undefined) => import("@sentry/core").Integration;
|
|
/**
|
|
*
|
|
*/
|
|
export declare function _getUnhandledRejectionError(error: unknown): unknown;
|
|
/**
|
|
* Create an event from a promise rejection where the `reason` is a primitive.
|
|
*
|
|
* @param reason: The `reason` property of the promise rejection
|
|
* @returns An Event object with an appropriate `exception` value
|
|
*/
|
|
export declare function _eventFromRejectionWithPrimitive(reason: Primitive): Event;
|
|
export {};
|
|
//# sourceMappingURL=globalhandlers.d.ts.map
|