@sentry/nextjs
Version:
Official Sentry SDK for Next.js
14 lines • 740 B
TypeScript
declare const OriginalOnUncaughtException: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & {
setup: (client: import("@sentry/node").NodeClient) => void;
}> & (new (options?: Partial<{
exitEvenIfOtherHandlersAreRegistered: boolean;
onFatalError?(this: void, firstError: Error, secondError?: Error | undefined): void;
}> | undefined) => import("@sentry/types").Integration);
/**
* A custom OnUncaughtException integration that does not exit by default.
*/
export declare class OnUncaughtException extends OriginalOnUncaughtException {
constructor(options?: ConstructorParameters<typeof OriginalOnUncaughtException>[0]);
}
export {};
//# sourceMappingURL=onUncaughtExceptionIntegration.d.ts.map