Returns the error message associated with this error code, if available.

Synopsis

Declared in <absl/status/status.h>

std::string_view
message() const;

Description

Note that this message rarely describes the error code. It is not unusual for the error message to be the empty string. As a result, prefer operator<< or Status::ToString() for debug logging.

Return Value

A view of the error message, which may be empty.

Created with MrDocs