# LibTmux.Program.programCleanupFailure

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/internal/LibTmux/Internal/Program.hs#L198
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-program-v-programcleanupfailure/

```haskell
programCleanupFailure
  :: ProgramRecovery -> Maybe SomeException
```

Signature types: [`ProgramRecovery`](/en/haskell/latest/reference/libtmux-program-t-programrecovery/), [`Maybe`](https://hackage.haskell.org/package/base-4.22.0.0/docs/Data-Maybe.html#t:Maybe), [`SomeException`](https://hackage.haskell.org/package/base-4.22.0.0/docs/Control-Exception.html#t:SomeException).

The failure from the cleanup attempt that attached this owner. The
 original callback exception remains the thrown exception.

## Referenced declarations

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

## Guides

Pages that discuss `programCleanupFailure`.

- [Run terminal applications](/en/haskell/latest/guides/programs/)
