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

◆ result() [4/4]

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

Construct an error result (move)

Parameters
errorThe error value (moved)

Definition at line 56 of file promise_result.h.

const Error & error() const
Get the error value.
fl::Variant< T, Error > mResult
Result type for promise operations.

References error(), fl::move(), and mResult.

+ Here is the call graph for this function: