FastLED 3.9.15
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 52 of file promise_result.h.

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

References error(), and mResult.

+ Here is the call graph for this function: