[#util-Unexpected-error-0f6] = xref:util.adoc[util]::xref:util/Unexpected.adoc[Unexpected]::error :relfileprefix: ../../ :mrdocs: Access the stored error value. == Synopsis Declared in `<util/expected.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr E const& error() const & noexcept; ---- == Return Value A const reference to the stored error. [.small]#Created with https://www.mrdocs.com[MrDocs]#