---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/llm/anthropic_messages/exceptions/variables/E_INVALID_ANTHROPIC_MESSAGES_OPTIONS.md
description: Thrown when resolved Anthropic Messages adapter options fail validation.
---

# Variable: E\_INVALID\_ANTHROPIC\_MESSAGES\_OPTIONS

```ts
const E_INVALID_ANTHROPIC_MESSAGES_OPTIONS: CreatedException<[string]>;
```

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

Thrown when resolved Anthropic Messages adapter options fail validation.
