UNPKG

@opentelemetry/core

Version:

OpenTelemetry Core provides constants and utilities shared by all OpenTelemetry SDK packages.

16 lines • 525 B
import { ErrorHandler } from "./types.mjs"; import { Exception } from "@opentelemetry/api"; //#region src/common/global-error-handler.d.ts /** * Set the global error handler * @param {ErrorHandler} handler */ declare function setGlobalErrorHandler(handler: ErrorHandler): void; /** * Return the global error handler * @param {Exception} ex */ declare function globalErrorHandler(ex: Exception): void; //#endregion export { globalErrorHandler, setGlobalErrorHandler }; //# sourceMappingURL=global-error-handler.d.mts.map