# StructuredOutputError

> **Class** in `langchain`

📖 [View in docs](https://reference.langchain.com/python/langchain/agents/structured_output/StructuredOutputError)

Base class for structured output errors.

## Signature

```python
StructuredOutputError()
```

## Extends

- `Exception`

## Properties

- `ai_message`

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/79cab2dc7f58be720cac43db3677b4c1fd971f91/libs/langchain_v1/langchain/agents/structured_output.py#L35)