FastLED
3.9.15
Loading...
Searching...
No Matches
◆
message()
[2/2]
template<typename E>
const char *
fl::expected
< void, E >::message
(
)
const
inline
Definition at line
157
of file
expected.h
.
157
{
158
auto
*
err
=
mData
.template
ptr<ErrorInfo<E>
>();
159
return
err
?
err
->
message
.c_str() :
""
;
160
}
fl::expected< void, E >::mData
fl::variant< VoidSuccess, ErrorInfo< E > > mData
Definition
expected.h:216
fl::expected::message
const char * message() const FL_NOEXCEPT
Get error message (only meaningful if !ok())
Definition
expected.h:94
fl::expected
expected type for operations that can fail (C++23-style)
Definition
expected.h:79
References
FL_NOEXCEPT
, and
mData
.
fl
expected< void, E >
Generated on Tue Jun 16 2026 00:07:05 for FastLED by
1.13.2