Extracts the error message from a result.
Declared in <util/result.h>
Extracts the error message from a result.
bilingual_str
ErrorString(Result<FT> const& result);
» more...
Extracts the error message from a result.
template<typename T>
bilingual_str
ErrorString(Result<T> const& result);
» more...
the stored error message, or an empty string when the result holds a value
| Name | Description |
|---|---|
| result | the result to inspect |