Core Library0.xAPI reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

function libtmux-fsharp

Control.cleanupFailure

Returns the cleanup failure attached to the exception a helper rethrew.

Source and package
Qualified name
LibTmux.FSharp.Control.cleanupFailure
Namespace
LibTmux.FSharp
Declared in
Control
Package
LibTmux.FSharp
Source
src/LibTmux.FSharp/Control.fsi
F# value signaturesDeclares the name and type of a value or function in a signature.Language documentation cleanupFailure: error: exn -> exn option

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 :? TmuxPaneException or a when filter, still matches; an AggregateException of both would slip past those handlers.

Parameters

Recorded calls

source calls
No call edges in the F# model.

The 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 material

Pages that discuss cleanupFailure.

Esc
Search in

Type to search.

Reference previewOpen reference