posthog-node
Version:
PostHog Node.js integration
4 lines • 419 B
TypeScript
import { ErrorTracking as CoreErrorTracking } from '@posthog/core';
export declare function addUncaughtExceptionListener(captureFn: (exception: Error, hint: CoreErrorTracking.EventHint) => void, onFatalFn: (exception: Error) => void): void;
export declare function addUnhandledRejectionListener(captureFn: (exception: unknown, hint: CoreErrorTracking.EventHint) => void): void;
//# sourceMappingURL=autocapture.d.ts.map