folly::expected_detail::ExpectedStorage::error

Accesses the stored error.

Synopses

Declared in <folly/Expected.h>

Accesses the stored error.

Error&
error() &;
» more...

Accesses the stored error.

Error const&
error() const &;
» more...

Accesses the stored error.

Error&&
error() &&;
» more...

Accesses the stored error.

Error const&&
error() const &&;
» more...

Return Value

  • A reference to the stored error.
  • A const reference to the stored error.
  • An rvalue reference to the stored error.
  • A const rvalue reference to the stored error.