Skip to content
1 min read · 41 words

Variable: E_OPENAI_EMBEDDINGS_HTTP_ERROR

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

Defined in: batteries/embeddings/openai/exceptions.ts:35

Thrown when the upstream /v1/embeddings 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.