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

Returns the associated error status&period;

== Synopsis

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

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

== Description

Returns the associated `absl&colon;&colon;Status` of the `absl&colon;&colon;StatusOr&lt;T&gt;` object&apos;s error&period;

== Return Value

A reference to the stored error status&period;


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