Extracts the error message from a result.

Synopsis

Declared in <util/result.h>

bilingual_str
ErrorString(Result<FT> const& result);

Return Value

the stored error message, or an empty string when the result holds a value

Parameters

Name

Description

result

the result to inspect

Created with MrDocs