MCPcopy Create free account
hub / github.com/FastLED/FastLED / complete_with_error

Method complete_with_error

src/fl/task/promise.h:194–197  ·  view source on GitHub ↗

Complete the Promise with an error (used by networking library)

Source from the content-addressed store, hash-verified

192
193 /// Complete the Promise with an error (used by networking library)
194 bool complete_with_error(const Error& error) FL_NOEXCEPT {
195 if (!valid()) return false;
196 return mImpl->reject(error);
197 }
198
199 bool complete_with_error(const fl::string& error_message) FL_NOEXCEPT {
200 if (!valid()) return false;

Callers 11

rejectMethod · 0.80
complete_errorMethod · 0.80
resolveRpcMethod · 0.80
resolveRpcStreamMethod · 0.80
rpcMethod · 0.80
rpcStreamMethod · 0.80
execute_fetch_requestFunction · 0.80
FL_TEST_FILEFunction · 0.80
delayed_rejectFunction · 0.80
FL_TEST_FILEFunction · 0.80
registerFunctionsMethod · 0.80

Calls 2

ErrorClass · 0.85
rejectMethod · 0.45

Tested by

no test coverage detected