Access the stored error (undefined behavior if a value is held).
Declared in <util/expected.h>
Access the stored error (undefined behavior if a value is held).
constexpr
E const&
error() const & noexcept;
» more...
Access the stored error (undefined behavior if a value is held).
constexpr
E&
error() & noexcept;
» more...
Access the stored error (undefined behavior if a value is held).
constexpr
E&&
error() && noexcept;
» more...