Skip to content
1 min read · 41 words

Variable: E_GEMINI_GENERATION_HTTP_ERROR

ts
const E_GEMINI_GENERATION_HTTP_ERROR: CreatedException<[number, string]>;

Defined in: src/batteries/generation/gemini/exceptions.ts:36

Thrown when the upstream /models/{model}:generateContent endpoint returns a non-2xx response (after retries are exhausted), or the transport throws. Non-fatal. Printf args: [status, detail]status is 0 for a transport-level failure with no HTTP response.