# HITLIterationLimitError

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/non_interactive/HITLIterationLimitError)

Raised when the HITL interrupt loop exceeds `_MAX_HITL_ITERATIONS` rounds.

## Signature

```python
HITLIterationLimitError()
```

## Extends

- `RuntimeError`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/d1c6946218b4f0f86ab7b02b6bb6af1e4b75cede/libs/code/deepagents_code/non_interactive.py#L71)