UNPKG

420 BTypeScriptView Raw
1import { Exception } from '@opentelemetry/api';
2import { ErrorHandler } from './types';
3/**
4 * Set the global error handler
5 * @param {ErrorHandler} handler
6 */
7export declare function setGlobalErrorHandler(handler: ErrorHandler): void;
8/**
9 * Return the global error handler
10 * @param {Exception} ex
11 */
12export declare function globalErrorHandler(ex: Exception): void;
13//# sourceMappingURL=global-error-handler.d.ts.map
\No newline at end of file