# LibTmux.Program.ProgramError

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** data type
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/internal/LibTmux/Internal/Program.hs#L122
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-program-t-programerror/

```haskell
data ProgramError
```

Program-specific failures. Existing native command failures also retain
 their ordinary correlated recovery. Async exceptions keep their class.

## Instances

- instance [Eq](https://hackage.haskell.org/package/base-4.22.0.0/docs/Data-Eq.html#t:Eq) [`ProgramError`](/en/haskell/latest/reference/libtmux-program-t-programerror/) ([Source](https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/internal/LibTmux/Internal/Program.hs#L130))

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

- instance [Show](https://hackage.haskell.org/package/base-4.22.0.0/docs/Prelude.html#t:Show) [`ProgramError`](/en/haskell/latest/reference/libtmux-program-t-programerror/) ([Source](https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/internal/LibTmux/Internal/Program.hs#L130))

## Members

### Other members

- [`InvalidProgramOptions`](/en/haskell/latest/reference/libtmux-program-v-invalidprogramoptions/) (data constructor): Invalid argv, environment, host-shell selection or bounds; no application was created.
- [`ProgramBootstrapUnavailable`](/en/haskell/latest/reference/libtmux-program-v-programbootstrapunavailable/) (data constructor): The selected Bash path cannot provide dynamic descriptors, timed reads and descriptor closure.
- [`ProgramCleanupIncomplete`](/en/haskell/latest/reference/libtmux-program-v-programcleanupincomplete/) (data constructor): Cleanup has not proved all owned obligations retired.
- [`ProgramClosed`](/en/haskell/latest/reference/libtmux-program-v-programclosed/) (data constructor): The interactive owning scope has begun cleanup.
- [`ProgramHostUnsupported`](/en/haskell/latest/reference/libtmux-program-v-programhostunsupported/) (data constructor): Host pidfd process-group support probe failed, with its errno.
- [`ProgramObservationLost`](/en/haskell/latest/reference/libtmux-program-v-programobservationlost/) (data constructor): Daemon, pane generation or required exit evidence was lost.
- [`ProgramTimedOut`](/en/haskell/latest/reference/libtmux-program-v-programtimedout/) (data constructor): The owning execution deadline elapsed; cleanup was initiated.

## Referenced declarations

- [`LibTmux.Program.ProgramError`](/en/haskell/latest/reference/libtmux-program-t-programerror/) (data type)
