UNPKG

@n8n/n8n-nodes-langchain

Version:
18 lines (17 loc) 468 B
export interface ErrorLike { message?: string; description?: string; } export interface ErrorContext { modelName?: string; } export declare function makeErrorFromStatus(statusCode: number, context?: ErrorContext): ErrorLike; interface GoogleErrorLike { message?: string; response?: { status?: number; data?: unknown; }; } export declare function extractGoogleErrorMessage(error: GoogleErrorLike): string | undefined; export {};