Outlook_Addin_LLM/node_modules/applicationinsights/out/AutoCollection/Exceptions.d.ts

20 lines
758 B
TypeScript
Raw Permalink Normal View History

import TelemetryClient = require("../Library/TelemetryClient");
declare class AutoCollectExceptions {
static INSTANCE: AutoCollectExceptions;
static UNCAUGHT_EXCEPTION_MONITOR_HANDLER_NAME: string;
static UNCAUGHT_EXCEPTION_HANDLER_NAME: string;
static UNHANDLED_REJECTION_HANDLER_NAME: string;
private static _RETHROW_EXIT_MESSAGE;
private static _FALLBACK_ERROR_MESSAGE;
private static _canUseUncaughtExceptionMonitor;
private _exceptionListenerHandle;
private _rejectionListenerHandle;
private _client;
private _isInitialized;
constructor(client: TelemetryClient);
isInitialized(): boolean;
enable(isEnabled: boolean): void;
dispose(): void;
}
export = AutoCollectExceptions;