Files
klz-cables.com/.pnpm-store/v10/files/96/effd81b56c9fcdb465932e7b9d3ab1044b75147a86c52633afded4ad1d4f5b7b69e5f7f7d7dd4fe3a63c368ea73e4f386ab62fe3a9bcb87c0050d681d8a5ee
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

18 lines
755 B
Plaintext

/**
* Safe error capture utilities for MCP server instrumentation
*
* Ensures error reporting never interferes with MCP server operation.
* All capture operations are wrapped in try-catch to prevent side effects.
*/
import { McpErrorType } from './types';
/**
* Captures an error without affecting MCP server operation.
*
* The active span already contains all MCP context (method, tool, arguments, etc.)
* @param error - Error to capture
* @param errorType - Classification of error type for filtering
* @param extraData - Additional context data to include
*/
export declare function captureError(error: Error, errorType?: McpErrorType, extraData?: Record<string, unknown>): void;
//# sourceMappingURL=errorCapture.d.ts.map