@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)
| 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 |