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

◆ make_error() [2/4]

template<typename T>
result< T > fl::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 151 of file promise_result.h.

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