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

◆ message() [1/2]

const char * fl::expected< void, E >::message ( ) const
inline

Get error message (only meaningful if !ok())

Definition at line 94 of file expected.h.

94 {
95 auto* err = mData.template ptr<ErrorInfo<E>>();
96 return err ? err->message.c_str() : "";
97 }
fl::variant< VoidSuccess, ErrorInfo< E > > mData
Definition expected.h:216
const char * message() const FL_NOEXCEPT
Get error message (only meaningful if !ok())
Definition expected.h:94
expected type for operations that can fail (C++23-style)
Definition expected.h:79