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

◆ PromiseResult() [3/4]

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

Construct an error PromiseResult.

Parameters
errorThe error value

Definition at line 53 of file promise_result.h.

53: mResult(error) {}
const Error & error() const FL_NO_EXCEPT
Get the error value.
fl::variant< T, Error > mResult

References error(), and fl::FL_NO_EXCEPT.

+ Here is the call graph for this function: