# ExceptionTool

> **Class** in `langchain_classic`

📖 [View in docs](https://reference.langchain.com/python/langchain-classic/agents/agent/ExceptionTool)

Tool that just returns the query.

## Signature

```python
ExceptionTool()
```

## Extends

- `BaseTool`

## Properties

- `name`
- `description`

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/f0c5a28fa05adcda89aebcb449d897245ab21fa4/libs/langchain/langchain_classic/agents/agent.py#L983)