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

Function make_error

src/fl/task/promise_result.h:151–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149/// @return result containing the error
150template<typename T>
151PromiseResult<T> make_error(const Error& error) {
152 return PromiseResult<T>(error);
153}
154
155/// @brief Helper function to create an error result (move)
156/// @tparam T The value type

Callers

nothing calls this directly

Calls 1

ErrorClass · 0.85

Tested by

no test coverage detected