Control.cleanupFailure
Returns the cleanup failure attached to the exception a helper rethrew.
Source and package
- Qualified name
-
LibTmux .FSharp .Control. cleanup Failure - Namespace
- LibTmux.FSharp
- Declared in
Control- Package
- LibTmux.FSharp
- Source
- src/LibTmux.FSharp/Control.fsi
-
Description
When work and cleanup both fail, the helpers rethrow the work's exception unchanged and attach the cleanup's; this reads it back. The work's exception keeps its type so that a handler written for it, such as
:? TmuxPaneExceptionor awhenfilter, still matches; anAggregateExceptionof both would slip past those handlers.- Parameters
-
-
error(exn)
-
Recorded calls
source callsThe F# reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.FSharp.Control.cleanupFailure.
Guides
task materialPages that discuss cleanupFailure.