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