Returns the associated error status.

Synopsis

Declared in <absl/status/statusor.h>

absl::Status const&
status() const;

Description

Returns the associated absl::Status of the absl::StatusOr<T> object's error.

Return Value

A reference to the stored error status.

Created with MrDocs