A scoped callback finished, but connection cleanup was not proved.
primary preserves either {:return, value} or
{:raise, kind, reason, stacktrace}. cleanup holds the separate structured
cleanup error. Callback values stay in the calling process; this wrapper
does not copy them through a bounded connection mailbox or discard them.
See LibTmux.Control.with_connection/2 for the complete return contract.
Summary
Types
The callback's original value or caught exception, throw or exit with its stacktrace.
Both primary callback evidence and unproved cleanup; neither implies no command effects.
Types
The callback's original value or caught exception, throw or exit with its stacktrace.
@type t(value) :: %LibTmux.Control.ScopeFailure{ __exception__: term(), cleanup: LibTmux.Error.t(), primary: primary(value) }
Both primary callback evidence and unproved cleanup; neither implies no command effects.