absl::DataLossError

Creates a status with the kDataLoss error code and message.

Synopsis

Declared in <absl/status/status.h>

template<
    typename String,
    typename = /* implementation-defined */::EnableIfString<String>>
Status
DataLossError(
    String&& message,
    absl::SourceLocation loc = SourceLocation::current());

Return Value

A status with the kDataLoss error code.

Parameters

NameDescription
messageThe error message.
locThe source location of the callsite.