FastLED 3.10.8
Loading...
Searching...
No Matches

◆ make_error() [2/4]

template<typename T>
PromiseResult< T > fl::task::make_error ( const Error & error)

Helper function to create an error result.

Template Parameters
TThe value type
Parameters
errorThe error
Returns
result containing the error

Definition at line 152 of file promise_result.h.

152 {
153 return PromiseResult<T>(error);
154}
Result type for promise operations.

References fl::FL_NO_EXCEPT.