Returns true if status has the kDataLoss error code.

Synopsis

Declared in <absl/status/status.h>

[[nodiscard]]
bool
IsDataLoss(Status const& status);

Return Value

true if status matches the associated error code.

Note

The return value should not be discarded.

Parameters

Name

Description

status

The status to test.

Created with MrDocs