# ResumeError

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/client/headless_resume/ResumeError)

A user-facing reason the requested thread cannot be resumed.

## Signature

```python
ResumeError()
```

## Extends

- `Exception`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/efa9f5364b83e9367ea57d9c21b15b4d81fdcb7a/libs/code/deepagents_code/client/headless_resume.py#L39)