Files
klz-cables.com/.pnpm-store/v10/files/6b/50ed8f9331228edbc4241ed777c03ceba6f5ad0dcbfc8c4319ed0460301a2b5906e5456eddbb67185cc9b31eeeb4aa2e461531624d5e38a44606138a505058
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

36 lines
1.5 KiB
Plaintext

import { Client } from '../client';
import { Event, EventHint } from '../types-hoist/event';
import { Exception } from '../types-hoist/exception';
import { ParameterizedString } from '../types-hoist/parameterize';
import { SeverityLevel } from '../types-hoist/severity';
import { StackFrame } from '../types-hoist/stackframe';
import { StackParser } from '../types-hoist/stacktrace';
/**
* Extracts stack frames from the error.stack string
*/
export declare function parseStackFrames(stackParser: StackParser, error: Error): StackFrame[];
/**
* Enhances the error message with the hostname for better Sentry error reporting.
* This allows third-party packages to still match on the original error message,
* while Sentry gets the enhanced version with context.
*
* Only used internally
* @hidden
*/
export declare function _enhanceErrorWithSentryInfo<T extends Error>(error: T): string;
/**
* Extracts stack frames from the error and builds a Sentry Exception
*/
export declare function exceptionFromError(stackParser: StackParser, error: Error): Exception;
/**
* Builds and Event from a Exception
* @hidden
*/
export declare function eventFromUnknownInput(client: Client, stackParser: StackParser, exception: unknown, hint?: EventHint): Event;
/**
* Builds and Event from a Message
* @hidden
*/
export declare function eventFromMessage(stackParser: StackParser, message: ParameterizedString, level?: SeverityLevel, hint?: EventHint, attachStacktrace?: boolean): Event;
//# sourceMappingURL=eventbuilder.d.ts.map