Function construct_error_from_result

#include <Geode/external/result/result.hpp>template<typename Result,typename T,typename E>voidconstruct_error_from_result()

/// \brief Constructs the underlying error from the \p other result /// /// If \p other contains a value, then the T type will be /// default-constructed. /// /// \note This is an implementation detail only meant to be used during /// construction of result<void, E> types /// /// \pre there is no contained value or error at the time of construction /// /// \param other the other result to construct