ScopeFailure
A scoped callback finished, but connection cleanup was not proved.
Source and package
- Qualified name
-
LibTmux .Control .Scope Failure - Module
- LibTmux.Control
- Package
- libtmux
- Source
- lib/libtmux/control/scope_failure.ex
-
Description#
primarypreserves either{:return, value}or{:raise, kind, reason, stacktrace}.cleanupholds 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. SeeLibTmux.Control.with_connection/2for the complete return contract.
Members2#
- primary/1: primary(value) :: {:return, value} | {:raise, :error | :throw | :exit, term(), list()} typealias The callback's original value or caught exception, throw or exit with its stacktrace.
- t/1: t(value) :: %Lib
Tmux { __exception__: term(), cleanup: Lib.Control .Scope Failure Tmux (), primary: primary(value) } typealias Both primary callback evidence and unproved cleanup; neither implies no command effects..Error .t