# 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/c59e83a1ffba63d709ea4847445845edd82085dc/libs/langchain_v1/langchain/agents/structured_output.py#L35)