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

Method set_error

include/exec/materialize.hpp:46–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45 template <class _Error>
46 constexpr void set_error(_Error __err) noexcept
47 {
48 STDEXEC::set_value(static_cast<_Receiver&&>(__upstream_),
49 set_error_t(),
50 static_cast<_Error&&>(__err));
51 }
52
53 constexpr void set_stopped() noexcept
54 {

Callers

nothing calls this directly

Calls 3

set_valueFunction · 0.85
set_errorFunction · 0.70
set_error_tClass · 0.50

Tested by

no test coverage detected