error.scoped.ScopeError.tmux_error
Rust
- Python Unavailable
- TypeScript Unavailable
- Rust
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- error.scoped
- Declared in
- ScopeError
- Package
- libtmux
- Source
- crates/libtmux/src/error/scoped.rs
-
Borrow the tmux error from creation or cleanup.
NoneforSelf::Operation, whoseEis 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