@juspay/neurolink
Version:
Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio
22 lines (21 loc) • 796 B
TypeScript
import type { ErrorCode } from "../../types/index.js";
export declare class NeuroLinkFeatureError extends Error {
readonly code: ErrorCode;
readonly feature: string;
readonly retryable: boolean;
readonly details?: Record<string, unknown>;
readonly cause?: Error;
constructor(message: string, code: ErrorCode, feature: string, options?: {
retryable?: boolean;
details?: Record<string, unknown>;
cause?: Error;
});
}
export declare function createErrorFactory<TCodes extends Record<string, string>>(feature: string, codes: TCodes): {
codes: TCodes;
create: (code: keyof TCodes, message: string, options?: {
retryable?: boolean;
details?: Record<string, unknown>;
cause?: Error;
}) => NeuroLinkFeatureError;
};