Files
klz-cables.com/.pnpm-store/v10/files/b9/fc26e4c2a288d99d121aa13ee6b32b69916ca3584bbd3e348fc9439f5dd48ff9db041affc4c9e42c54a81f6f983b13244ea3d4ee29cc042ab17c5d0c5ed65a
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

32 lines
1.4 KiB
Plaintext

import { NodeClient } from '../sdk/client';
interface OnUncaughtExceptionOptions {
/**
* Controls if the SDK should register a handler to exit the process on uncaught errors:
* - `true`: The SDK will exit the process on all uncaught errors.
* - `false`: The SDK will only exit the process when there are no other `uncaughtException` handlers attached.
*
* Default: `false`
*/
exitEvenIfOtherHandlersAreRegistered: boolean;
/**
* This is called when an uncaught error would cause the process to exit.
*
* @param firstError Uncaught error causing the process to exit
* @param secondError Will be set if the handler was called multiple times. This can happen either because
* `onFatalError` itself threw, or because an independent error happened somewhere else while `onFatalError`
* was running.
*/
onFatalError?(this: void, firstError: Error, secondError?: Error): void;
}
/**
* Add a global exception handler.
*/
export declare const onUncaughtExceptionIntegration: (options?: Partial<OnUncaughtExceptionOptions> | undefined) => import("@sentry/core").Integration;
type ErrorHandler = {
_errorHandler: boolean;
} & ((error: Error) => void);
/** Exported only for tests */
export declare function makeErrorHandler(client: NodeClient, options: OnUncaughtExceptionOptions): ErrorHandler;
export {};
//# sourceMappingURL=onuncaughtexception.d.ts.map