# LibTmux.Control.ControlError

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** data type
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/internal/LibTmux/Internal/Control.hs#L60
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-control-t-controlerror/

```haskell
data ControlError
```

Opening or retiring the client failed. A cleanup failure can carry a
 [`ControlRecovery`](/en/haskell/latest/reference/libtmux-recovery-t-controlrecovery/) in its exception context.

## Instances

- instance [Eq](https://hackage.haskell.org/package/base-4.22.0.0/docs/Data-Eq.html#t:Eq) [`ControlError`](/en/haskell/latest/reference/libtmux-control-t-controlerror/) ([Source](https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/internal/LibTmux/Internal/Control.hs#L67))

- instance [Exception](https://hackage.haskell.org/package/base-4.22.0.0/docs/Control-Exception.html#t:Exception) [`ControlError`](/en/haskell/latest/reference/libtmux-control-t-controlerror/) ([Source](https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/internal/LibTmux/Internal/Control.hs#L69))

- instance [Show](https://hackage.haskell.org/package/base-4.22.0.0/docs/Prelude.html#t:Show) [`ControlError`](/en/haskell/latest/reference/libtmux-control-t-controlerror/) ([Source](https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/internal/LibTmux/Internal/Control.hs#L67))

## Members

### Other members

- [`ControlAttachEnded`](/en/haskell/latest/reference/libtmux-control-v-controlattachended/) (data constructor)
- [`ControlAttachRejected`](/en/haskell/latest/reference/libtmux-control-v-controlattachrejected/) (data constructor)
- [`ControlAttachTimedOut`](/en/haskell/latest/reference/libtmux-control-v-controlattachtimedout/) (data constructor)
- [`ControlCleanupIncomplete`](/en/haskell/latest/reference/libtmux-control-v-controlcleanupincomplete/) (data constructor)
- [`ControlSessionMismatch`](/en/haskell/latest/reference/libtmux-control-v-controlsessionmismatch/) (data constructor)
- [`InvalidControlCapacity`](/en/haskell/latest/reference/libtmux-control-v-invalidcontrolcapacity/) (data constructor)

## Referenced declarations

- [`LibTmux.Control.ControlError`](/en/haskell/latest/reference/libtmux-control-t-controlerror/) (data type)
