[#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&period;

== Synopsis

Declared in `&lt;absl&sol;status&sol;status&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string&lowbar;view
message() const;
----

== Description

Note that this message rarely describes the error code&period; It is not unusual for the error message to be the empty string&period; As a result, prefer `operator&lt;&lt;` or `Status&colon;&colon;ToString()` for debug logging&period;

== Return Value

A view of the error message, which may be empty&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
