Creates a Status object with the absl::StatusCode::kCancelled error code and an empty message.

Synopsis

Declared in <absl/status/status.h>

Status
CancelledError();

Description

It is provided only for efficiency, given that message‐less kCancelled errors are common in the infrastructure.

Return Value

A kCancelled status with an empty message.

Created with MrDocs