MCPcopy Create free account
hub / github.com/FastLED/FastLED / message

Method message

src/fl/stl/expected.h:94–97  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

92
93 /// @brief Get error message (only meaningful if !ok())
94 const char* message() const FL_NOEXCEPT {
95 auto* err = mData.template ptr<ErrorInfo<E>>();
96 return err ? err->message.c_str() : "";
97 }
98
99 /// @brief Get value (only valid if ok() == true)
100 /// @warning Undefined behavior if called when !ok()

Callers 1

FL_TEST_FILEFunction · 0.45

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected