FastLED
3.10.6
Loading...
Searching...
No Matches
◆
error()
[2/2]
template<typename E>
E
fl::expected
< void, E >::error
(
)
const
inline
Definition at line
152
of file
expected.h
.
152
{
153
auto
*
err
=
mData
.template
ptr<ErrorInfo<E>
>();
154
return
err
?
err
->code :
E
{};
155
}
fl::expected< void, E >::mData
fl::variant< VoidSuccess, ErrorInfo< E > > mData
Definition
expected.h:216
fl::expected
expected type for operations that can fail (C++23-style)
Definition
expected.h:79
References
fl::FL_NO_EXCEPT
, and
mData
.
fl
expected< void, E >
Generated on Sun Oct 4 2026 23:09:08 for FastLED by
1.13.2