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

Returns the canonical error code of type `absl&colon;&colon;StatusCode` of this status&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/StatusCode.adoc[absl::StatusCode]
code() const;
----

== Return Value

The canonical error code&period;


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