# libtmux::expected

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** typealias
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/include/libtmux/expected.hpp#L39
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-expected/

A value or the reason there is not one.

`std::expected` where the standard library has it, and a drop-in otherwise, so a caller writes the same code either way. Nothing in this library throws to report a tmux failure.
