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

A reference to the stored error.