| Current Path : /proc/self/root/usr/local/lib/node_modules/@google/gemini-cli/dist/src/ui/utils/ |
| Current File : //proc/self/root/usr/local/lib/node_modules/@google/gemini-cli/dist/src/ui/utils/errorParsing.d.ts |
/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { AuthType } from '@google/gemini-cli-core';
export interface ApiError {
error: {
code: number;
message: string;
status: string;
details: unknown[];
};
}
export declare function parseAndFormatApiError(error: unknown, authType?: AuthType): string;