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

◆ failure() [1/2]

static expected fl::expected< void, E >::failure ( E err,
const char * msg = nullptr )
inlinestatic

Create error result.

Definition at line 115 of file expected.h.

115 {
116 expected r;
118 return r;
119 }
expected() FL_NOEXCEPT
Default constructor (creates error state)
Definition expected.h:177
fl::variant< T, ErrorInfo< E > > mData
Definition expected.h:134
expected type for operations that can fail (C++23-style)
Definition expected.h:79