util::Unexpected::error

Access the stored error value.

Synopsis

Declared in <util/expected.h>

constexpr
E&&
error() && noexcept;

Return Value

An rvalue reference to the stored error.