FastLED 3.9.15
Loading...
Searching...
No Matches

◆ make_error() [4/4]

template<typename T>
result< T > fl::make_error ( Error && error)

Helper function to create an error result (move)

Template Parameters
TThe value type
Parameters
errorThe error (moved)
Returns
result containing the error

Definition at line 160 of file promise_result.h.

160 {
161 return result<T>(fl::move(error));
162}
Result type for promise operations.
constexpr remove_reference< T >::type && move(T &&t) noexcept
Definition move.h:27

References move().

+ Here is the call graph for this function: