[#util-Result-2constructor-0b] = xref:util.adoc[util]::xref:util/Result.adoc[Result]::Result :relfileprefix: ../../ :mrdocs: Constructs a failed result holding the given error message. == Synopsis Declared in `<util/result.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- Result(xref:util/Error.adoc[Error] error); ---- == Parameters [cols="1,4"] |=== | Name| Description | *error* | the error carrier whose message is moved into the result |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#