MCPcopy Create free account
hub / github.com/NVIDIA/stdexec / set_error

Method set_error

include/exec/detail/shared.hpp:95–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 template <class _Error>
94 STDEXEC_ATTRIBUTE(always_inline)
95 constexpr void set_error(_Error&& __err) noexcept
96 {
97 __sh_state_->__complete(set_error_t(), static_cast<_Error&&>(__err));
98 }
99
100 STDEXEC_ATTRIBUTE(always_inline)
101 constexpr void set_stopped() noexcept

Callers

nothing calls this directly

Calls 2

set_error_tClass · 0.50
__completeMethod · 0.45

Tested by

no test coverage detected