# LibTmux.Server.TmuxException

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** data type
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/663e212622a02aa74a9bdc8ff71e2b45fcb1d4d5/internal/LibTmux/Internal/Scope.hs#L22
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-server-t-tmuxexception/

```haskell
data TmuxException
```

Library operational failures. Context-preserving catching retains any
 cleanup owners; the original application or cancellation exception keeps
 its class when the callback itself failed.

## Instances

- instance [Exception](https://hackage.haskell.org/package/base-4.22.0.0/docs/Control-Exception.html#t:Exception) [`TmuxException`](/en/haskell/latest/reference/libtmux-server-t-tmuxexception/) ([Source](https://github.com/libtmux/libtmux-haskell/blob/663e212622a02aa74a9bdc8ff71e2b45fcb1d4d5/internal/LibTmux/Internal/Scope.hs#L35))

- instance [Show](https://hackage.haskell.org/package/base-4.22.0.0/docs/Prelude.html#t:Show) [`TmuxException`](/en/haskell/latest/reference/libtmux-server-t-tmuxexception/) ([Source](https://github.com/libtmux/libtmux-haskell/blob/663e212622a02aa74a9bdc8ff71e2b45fcb1d4d5/internal/LibTmux/Internal/Scope.hs#L34))

## Members

### Common operations

- [`CleanupFailed`](/en/haskell/latest/reference/libtmux-server-v-cleanupfailed/) (data constructor): Cleanup remained incomplete or its worker could not start.
- [`InvalidTarget`](/en/haskell/latest/reference/libtmux-server-v-invalidtarget/) (data constructor): Target belongs to a different connection or an offline fixture.
- [`MutationAppliedWithErrors`](/en/haskell/latest/reference/libtmux-server-v-mutationappliedwitherrors/) (data constructor): The primary command ran, then a command hook failed.
- [`MutationRejected`](/en/haskell/latest/reference/libtmux-server-v-mutationrejected/) (data constructor): tmux rejected the primary command; bounded diagnostic bytes.
- [`MutationTimedOut`](/en/haskell/latest/reference/libtmux-server-v-mutationtimedout/) (data constructor): The deadline elapsed; a correlated recovery may retain an unknown outcome.
- [`RuntimeClosed`](/en/haskell/latest/reference/libtmux-server-v-runtimeclosed/) (data constructor): Admission through the retained Runtime has closed.
- [`ServerClosed`](/en/haskell/latest/reference/libtmux-server-v-serverclosed/) (data constructor): Admission through the retained Server handle has closed.

### Other members

- [`InvalidConfiguration`](/en/haskell/latest/reference/libtmux-server-v-invalidconfiguration/) (data constructor): Configuration failed before acquisition.
- [`InvalidMutationArgument`](/en/haskell/latest/reference/libtmux-server-v-invalidmutationargument/) (data constructor): Invalid command operand; no command was admitted.
- [`InvalidObservation`](/en/haskell/latest/reference/libtmux-server-v-invalidobservation/) (data constructor): Acquired metadata failed final validation.
- [`OperationFailed`](/en/haskell/latest/reference/libtmux-server-v-operationfailed/) (data constructor): Known backend failure with its original cause.

## Referenced declarations

- [`LibTmux.Server.TmuxException`](/en/haskell/latest/reference/libtmux-server-t-tmuxexception/) (data type)

## Guides

Pages that discuss `TmuxException`.

- [Capture and navigate](/en/haskell/latest/guides/capture/)
