UNPKG

412 BTypeScriptView Raw
1import type { HandlerDataError } from '@sentry/types';
2/**
3 * Add an instrumentation handler for when an error is captured by the global error handler.
4 *
5 * Use at your own risk, this might break without changelog notice, only used internally.
6 * @hidden
7 */
8export declare function addGlobalErrorInstrumentationHandler(handler: (data: HandlerDataError) => void): void;
9//# sourceMappingURL=globalError.d.ts.map
\No newline at end of file