Expand description
Typed errors for the public api-store LLM endpoint (feature 472).
Resolves UI finding U1: applications need a typed, pattern-matchable
error for the structured 400 body produced when route: Private cannot
be honoured on the selected executor. Mirrors the TypeScript surface in
sdk/typescript/src/llm/errors.ts.
Structs§
- Invalid
Route Mode Combination Body - Wire shape of the structured 400 body for
api_store.invalid_route_mode_combination. - Invalid
Route Mode Combination Error - Typed error returned by the SDK when
route+execution_preferenceform a rejected combination per the Routing Truth Table indata-model.md §4. - Private
Unavailable Body - Wire shape of the structured 400 body for
api_store.private_unavailable. - Private
Unavailable Error - Typed error returned by the SDK when the host emits the structured 400
body for
api_store.private_unavailable.
Enums§
- Private
Unavailable Reason - Reason the peer rejected a
route: Privaterequest.
Functions§
- map_
api_ error_ body - Decode a 400 response body into the corresponding typed error variant,
returning
Nonefor unknown codes so callers can fall through to a generic transport error.