Policy
-
auto basic_outcome_failure_exception_from_error(const EC &)
ADL discovered free function synthesising an exception type from an error type, used by the
.failure()
observers. -
decltype(auto) error_code(T &&)
Extracts a
boost::system::error_code
orstd::error_code
from the input via ADL discovery of a suitablemake_error_code(T)
function. -
decltype(auto) exception_ptr(T &&)
Extracts a
boost::exception_ptr
orstd::exception_ptr
from the input via ADL discovery of a suitablemake_exception_ptr(T)
function. -
void outcome_throw_as_system_error_with_payload(BoostErrorCodeEnum &&)
Specialisation of
outcome_throw_as_system_error_with_payload()
for input types whereboost::system::errc::is_error_code_enum<BoostErrorCodeEnum>
orboost::system::errc::is_error_condition_enum<BoostErrorCodeEnum>
is true. -
void outcome_throw_as_system_error_with_payload(ErrorCodeEnum &&)
Specialisation of
outcome_throw_as_system_error_with_payload()
for input types wherestd::is_error_code_enum<ErrorCodeEnum>
orstd::is_error_condition_enum<ErrorCodeEnum>
is true. -
void outcome_throw_as_system_error_with_payload(const boost::system::error_code &)
Specialisation of
outcome_throw_as_system_error_with_payload()
forboost::system::error_code
. -
void outcome_throw_as_system_error_with_payload(const std::error_code &)
Specialisation of
outcome_throw_as_system_error_with_payload()
forstd::error_code
.