![]() |
result — The non-throwing result shape of Boost.Taar: a T or a failure.
// In header: <boost/taar/core/error.hpp> template<typename T> using result = boost::system::result< T, failure >;
Accessing value() on a failed result throws boost::taar::exception carrying the failure (through the ADL hook throw_exception_from_error). Construct a failed result explicitly: return failure {error::argument_not_found};.