unexpected_t
The error side of expected, named for the rare declaration that has to spell it.
Source and package
- Qualified name
-
libtmux::unexpected _t - Namespace
- libtmux
- Package
- libtmux-cxx
- Source
- include/libtmux/expected.hpp
- type libtmux::unexpected_t : std::
unexpected <Error> -
Description#
Returning one is how a function reports a failure.