[#absl-Status-message] = xref:absl.adoc[absl]::xref:absl/Status.adoc[Status]::message :relfileprefix: ../../ :mrdocs: Returns the error message associated with this error code, if available. == Synopsis Declared in `<absl/status/status.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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. [.small]#Created with https://www.mrdocs.com[MrDocs]#