> ## Documentation Index
> Fetch the complete documentation index at: https://ctrlrun-docs-python-3-13-3-14.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# DuplicateEffect

> This logical effect already happened, or is happening now (SPEC-v0.1 §5.4).

`ctrlrun.DuplicateEffect` — class, defined at `src/ctrlrun/errors.py:126`

```python theme={null}
from ctrlrun import DuplicateEffect
```

```python theme={null}
class DuplicateEffect(CTRLRunError)
    def __init__(message: str | None = None, *, state: str, effect_key: str | None = None)
```

This logical effect already happened, or is happening now (SPEC-v0.1 §5.4).

`state` is `committed` — the effect is done — or `in_progress`, meaning another attempt
holds a live reservation on the key. Neither permits a second execution.

## Next

* [Python API index](/docs/reference/api/index).
* [Get started](/docs/get-started/quickstart) · [Why](/docs/why).
