Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

error.scoped.ScopeError.tmux_error

Rust
  • Python Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
error.scoped
Declared in
ScopeError
Package
libtmux
Source
crates/libtmux/src/error/scoped.rs
tmux_error ( self ) → Option<&Error>
method [source]
method [source]
tmux_error

Borrow the tmux error from creation or cleanup.

None for Self::Operation , whose E is the caller's own type.

Examples

use libtmux::ScopeError;
let failed: ScopeError<(), &str> = ScopeError::Operation("no route");
assert!(failed.tmux_error().is_none());

0 declared, 0 inherited

Esc

Type to search.