Policy that returns Stopped on cancellation and Error on error.
Synopsis
Declared in <folly/coro/ValueOrFatal.h>
template<
auto Stopped,
auto Error = Stopped>
inline constexpr auto on_stopped_and_error = on_stopped_and_error_t<Stopped, Error>{};
Created with MrDocs