Package com.tnsai.llm.errors
Class GeminiProviderErrorMapper
java.lang.Object
com.tnsai.llm.errors.AbstractGoogleErrorMapper
com.tnsai.llm.errors.GeminiProviderErrorMapper
- All Implemented Interfaces:
ProviderErrorMapper
ProviderErrorMapper for Google's Generative Language API (Gemini).
Gemini returns the canonical Google API-Gateway error envelope; all of the
parsing and google.rpc.Code-status mapping lives in
AbstractGoogleErrorMapper, shared with VertexAIProviderErrorMapper.
- Since:
- 0.5.1 (issue #87 follow-up — third pilot mapper);
rebased onto
AbstractGoogleErrorMapperin 0.11.1 (TNS-622)
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.tnsai.llm.errors.AbstractGoogleErrorMapper
map, mapErrorType, providerId
-
Constructor Details
-
GeminiProviderErrorMapper
public GeminiProviderErrorMapper()
-