UNPKG

@copilotkit/runtime

Version:

<img src="https://github.com/user-attachments/assets/0a6b64d9-e193-4940-a3f6-60334ac34084" alt="banner" style="border-radius: 12px; border: 2px solid #d6d4fa;" />

12 lines (11 loc) 525 B
import "reflect-metadata"; import { CopilotKitLowLevelError } from "@copilotkit/shared"; //#region src/service-adapters/shared/error-utils.d.ts /** * Converts service adapter errors to structured CopilotKitError format using HTTP status codes. * This provides consistent error classification across all service adapters. */ declare function convertServiceAdapterError(error: any, adapterName: string): CopilotKitLowLevelError; //#endregion export { convertServiceAdapterError }; //# sourceMappingURL=error-utils.d.mts.map