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

Function set_error

include/exec/async_scope.hpp:593–599  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

591
592 template <__movable_value _Error>
593 constexpr void set_error(_Error&& __err) noexcept
594 {
595 auto& __state = *__state_;
596 std::unique_lock __guard{__state.__mutex_};
597 __save_completion(set_error_t(), static_cast<_Error&&>(__err));
598 __dispatch_result_(__guard);
599 }
600
601 constexpr void set_stopped() noexcept
602 {

Callers 15

__into_tuple_implClass · 0.70
set_valueMethod · 0.70
repeat_until.hppFile · 0.70
__opstateClass · 0.70
set_errorMethod · 0.70
set_errorMethod · 0.70
__future_opstateClass · 0.70
startFunction · 0.70
startMethod · 0.70
set_errorMethod · 0.70
__receiverClass · 0.70
__repeatMethod · 0.70

Calls 1

set_error_tClass · 0.50

Tested by

no test coverage detected