# LibTmux.Server.cleanupFailure

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/663e212622a02aa74a9bdc8ff71e2b45fcb1d4d5/internal/LibTmux/Internal/Scope.hs#L97
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-server-v-cleanupfailure/

```haskell
cleanupFailure :: CleanupRecovery -> Maybe SomeException
```

Signature types: [`CleanupRecovery`](/en/haskell/latest/reference/libtmux-server-t-cleanuprecovery/), [`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).

Exception that interrupted the original cleanup attempt, when there was
 one. Pending ownership alone need not have an associated exception.

## Referenced declarations

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