Extracts the error message from a result.
Declared in <util/result.h>
template<typename FT>
bilingual_str
ErrorString(Result<FT> const& result);
This function is a hidden friend of Result, declared only inside that class: it can be found only through argument-dependent lookup.
the stored error message, or an empty string when the result holds a value
| Name | Description |
|---|---|
| result | the result to inspect |