util::Unexpected::error

Access the stored error value.

Synopsis

Declared in <util/expected.h>

constexpr
E const&
error() const & noexcept;

Return Value

A const reference to the stored error.