---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/llm/anthropic_messages/types/interfaces/AnthropicMessagesErrorStatusInput.md
description: 'Input handed to an [`AnthropicMessagesErrorStatusResolver`](https://adk.nht.io/api/@nhtio/adk/batteries/llm/anthropic_messages/types/type-aliases/AnthropicMessagesErrorStatusResolver).'
---

# Interface: AnthropicMessagesErrorStatusInput

Defined in: [src/batteries/llm/anthropic\_messages/types.ts:326](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/anthropic_messages/types.ts#L326)

Input handed to an [AnthropicMessagesErrorStatusResolver](../type-aliases/AnthropicMessagesErrorStatusResolver.md).

## Properties

| Property                                    | Type      | Description                                                                                                                                                      | Defined in                                                                                                                                                  |
| ------------------------------------------- | --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
|  `bodyText`   | `string`  | The error body as text: `JSON.stringify(err.error)` when the SDK parsed an object, else its string form. Empty string when the SDK captured no body.             | [src/batteries/llm/anthropic\_messages/types.ts:333](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/anthropic_messages/types.ts#L333) |
|  `error`         | `unknown` | The raw SDK error being classified — an `APIError` instance.                                                                                                     | [src/batteries/llm/anthropic\_messages/types.ts:328](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/anthropic_messages/types.ts#L328) |
|  `sdkStatus` | `number`  | The status the SDK reported, already coerced: `err.status` when numeric, otherwise `0`. A resolver typically returns `undefined` immediately unless this is `0`. | [src/batteries/llm/anthropic\_messages/types.ts:338](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/anthropic_messages/types.ts#L338) |
