UNPKG

@tanstack/ai-mcp

Version:

Host-side Model Context Protocol client for TanStack AI: discover and run MCP server tools, resources, and prompts in any adapter's chat() loop, with generated end-to-end types.

20 lines (19 loc) • 521 B
//#region src/events/types.ts /** * Receiver error passed to `onError`. Messages never include the secret. * * @experimental */ var MCPEventWebhookError = class extends Error { stage; subscriptionKey; constructor(stage, message, options) { super(message, options?.cause === void 0 ? void 0 : { cause: options.cause }); this.name = "MCPEventWebhookError"; this.stage = stage; this.subscriptionKey = options?.subscriptionKey; } }; //#endregion export { MCPEventWebhookError }; //# sourceMappingURL=types.js.map