absl::Status::Update

Updates the existing status by moving from new_status if this->ok().

Synopsis

Declared in <absl/status/status.h>

void
Update(Status&& new_status);

Parameters

NameDescription
new_statusThe status to move from if *this is currently OK.