bad_result_access

Exception type publicly inheriting from std::logic_error indicating an incorrect observation of value or error occurred by basic_result<T, E, NoValuePolicy> .

No member functions are added in addition to std::logic_error. Typical .what() strings are:

Requires: Nothing.

Namespace: OUTCOME_V2_NAMESPACE

Header: <outcome/bad_access.hpp>