[#absl-StatusCodeToStringView]
= xref:absl.adoc[absl]::StatusCodeToStringView
:relfileprefix: ../
:mrdocs:

Same as StatusCodeToString(), but returns a string&lowbar;view&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string&lowbar;view
StatusCodeToStringView(xref:absl/StatusCode.adoc[StatusCode] code);
----

== Return Value

A view of the status code name, or &quot;&quot; if `code` is unknown&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *code*
| The status code to convert&period;
|===


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