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

Method error_message

src/fl/task/promise_result.h:114–116  ·  view source on GitHub ↗

@brief Get the error message as a convenience @return Error message string, or empty string if successful @note Safe to call on success results (returns empty string)

Source from the content-addressed store, hash-verified

112 /// @return Error message string, or empty string if successful
113 /// @note Safe to call on success results (returns empty string)
114 fl::string error_message() const {
115 return ok() ? fl::string() : error().message;
116 }
117
118 /// @brief Access the underlying variant (for advanced usage)
119 /// @return Reference to the internal variant

Callers

nothing calls this directly

Calls 1

stringClass · 0.50

Tested by

no test coverage detected