# AnthropicAPIError

> **Class** in `langchain_anthropic`

📖 [View in docs](https://reference.langchain.com/python/langchain-anthropic/chat_models/AnthropicAPIError)

Anthropic server error classified as a LangChain model error.

## Signature

```python
AnthropicAPIError()
```

## Extends

- `anthropic.InternalServerError`
- `ModelAPIError`

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/36fb6aa0a445e770521b63ff5aa97f8fd6aeb1be/libs/partners/anthropic/langchain_anthropic/chat_models.py#L1242)