# TaskNotFound

> **Class** in `langgraph`

📖 [View in docs](https://reference.langchain.com/python/langgraph/errors/TaskNotFound)

Raised when the executor is unable to find a task (for distributed mode).

## Signature

```python
TaskNotFound()
```

## Extends

- `Exception`

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/6bcac5d72e2e20a64c988d43f3debb2a821924f8/libs/langgraph/langgraph/errors.py#L124)