Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / outcome / doc / src / content / reference / functions / policy / outcome_throw_as_system_error_with_payload_boost_enum.md
index 6ef5c1a..6705fc8 100644 (file)
@@ -1,13 +1,13 @@
 +++
 title = "`void outcome_throw_as_system_error_with_payload(BoostErrorCodeEnum &&)`"
-description = "Specialisation of `outcome_throw_as_system_error_with_payload()` for input types where `boost::system::errc::is_error_code_enum<BoostErrorCodeEnum>` or `boost::system::errc::is_error_condition_enum<BoostErrorCodeEnum>` is true."
+description = "Specialisation of `outcome_throw_as_system_error_with_payload()` for input types where `boost::system::is_error_code_enum<BoostErrorCodeEnum>` or `boost::system::is_error_condition_enum<BoostErrorCodeEnum>` is true."
 +++
 
-A specialisation of `outcome_throw_as_system_error_with_payload()` for types where `boost::system::errc::is_error_code_enum<BoostErrorCodeEnum>` or `boost::system::errc::is_error_condition_enum<BoostErrorCodeEnum>` is true. This executes {{% api "BOOST_OUTCOME_THROW_EXCEPTION(expr)" %}} with a `boost::system::system_error` constructed from the result of the ADL discovered free function `make_error_code(BoostErrorCodeEnum)`.
+A specialisation of `outcome_throw_as_system_error_with_payload()` for types where `boost::system::is_error_code_enum<BoostErrorCodeEnum>` or `boost::system::is_error_condition_enum<BoostErrorCodeEnum>` is true. This executes {{% api "BOOST_OUTCOME_THROW_EXCEPTION(expr)" %}} with a `boost::system::system_error` constructed from the result of the ADL discovered free function `make_error_code(BoostErrorCodeEnum)`.
 
 *Overridable*: Argument dependent lookup.
 
-*Requires*: Either `boost::system::errc::is_error_code_enum<T>` or `boost::system::errc::is_error_condition_enum<T>` to be true for a decayed `BoostErrorCodeEnum`.
+*Requires*: Either `boost::system::is_error_code_enum<T>` or `boost::system::is_error_condition_enum<T>` to be true for a decayed `BoostErrorCodeEnum`.
 
 *Namespace*: `boost::system`