# PluginStateError

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/plugins/store/PluginStateError)

Raised when existing plugin state cannot be safely modified.

## Signature

```python
PluginStateError()
```

## Extends

- `OSError`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/e4c1ffe9ee63d7854147de490ca27495ef157a7b/libs/code/deepagents_code/plugins/store.py#L37)