absl::StatusOr::IgnoreError

Ignores any error held by this object.

Synopsis

Declared in <absl/status/statusor.h>

void
IgnoreError() const;

Description

Ignores any errors. This method does nothing except potentially suppress complaints from any tools that are checking that errors are not dropped on the floor.