@nhtio/adk/batteries/llm/bedrock_converse/exceptions
Battery-scoped exception constructors for the native Bedrock Converse adapter.
Remarks
Two Converse-specific classifications earn their own exceptions because both are ACTIONABLE and both arrive as a generic validation error otherwise: E_CONVERSE_MISSING_TOOL_CONFIG and E_CONVERSE_ALTERNATION_VIOLATION.
Variables
| Variable | Description |
|---|---|
| E_CONVERSE_ALTERNATION_VIOLATION | Converse rejected the request for non-alternating roles. |
| E_CONVERSE_INVALID_TOOL_INPUT | A toolUse block carried an input value that is not a plain object. |
| E_CONVERSE_MISSING_TOOL_CONFIG | Converse rejected the request because toolUse/toolResult blocks appeared with no toolConfig. |
| E_CONVERSE_REQUEST_FAILED | The provider returned a non-2xx status. |
| E_CONVERSE_STREAM_ERROR | A transport error or malformed frame killed the stream. |
| E_INVALID_BEDROCK_CONVERSE_OPTIONS | Resolved options failed validation. |