# LibTmux.Recovery.cleanupFailure

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/internal/LibTmux/Internal/Scope.hs#L153
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-recovery-v-cleanupfailure/

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

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