Access the stored error (undefined behavior if a value is held).
Synopsis
Declared in <util/expected.h>
constexpr
E const&
error() const & noexcept;
Return Value
A const reference to the stored error.
Created with MrDocs
Access the stored error (undefined behavior if a value is held).
Declared in <util/expected.h>
constexpr
E const&
error() const & noexcept;
A const reference to the stored error.
Created with MrDocs