[#util-ErrorString-0d] = xref:util.adoc[util]::ErrorString :relfileprefix: ../ :mrdocs: Extracts the error message from a result. == Synopses Declared in `<util/result.h>` Extracts the error message from a result. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bilingual_str.adoc[bilingual_str] xref:util/ErrorString-01.adoc[ErrorString](xref:util/Result.adoc[Result<FT>] const& result); ---- [.small]#xref:util/ErrorString-01.adoc[_» more..._]# Extracts the error message from a result. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename T> xref:bilingual_str.adoc[bilingual_str] xref:util/ErrorString-07.adoc[ErrorString](xref:util/Result.adoc[Result<T>] const& result); ---- [.small]#xref:util/ErrorString-07.adoc[_» more..._]# == Return Value the stored error message, or an empty string when the result holds a value == Parameters [cols="1,4"] |=== | Name| Description | *result* | the result to inspect |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#