---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/llm/anthropic_messages/exceptions/variables/E_ANTHROPIC_MESSAGES_HTTP_ERROR.md
description: Thrown when the upstream Messages endpoint returns an API error.
---

# Variable: E\_ANTHROPIC\_MESSAGES\_HTTP\_ERROR

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

Defined in: [src/batteries/llm/anthropic\_messages/exceptions.ts:47](https://github.com/NHTIO/ADK/blob/v1.20260726.0/src/src/batteries/llm/anthropic_messages/exceptions.ts#L47)

Thrown when the upstream Messages endpoint returns an API error.
