util::Expected::error

Access the stored error (undefined behavior if a value is held).

Synopsis

Declared in <util/expected.h>

constexpr
E&&
error() && noexcept;

Return Value

An rvalue reference to the stored error.