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

An enumerated type indicating how `absl&colon;&colon;Status&colon;&colon;ToString()` should construct the output string for a non&hyphen;ok status&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
enum class StatusToStringMode : int;
----

== Members

[cols="1,4"]
|===
| Name| Description
| `kWithNoExtraData` 
| ToString will not contain any extra data (such as payloads)&period; It will only contain the error code and message, if any&period;
| `kWithPayload` 
| ToString will contain the payloads&period;
| `kWithSourceLocation` 
| ToString will contain the source locations&period;
| `kWithEverything` 
| ToString will include all the extra data this Status has&period;
| `kDefault` 
| Default mode used by ToString&period; Its exact value might change in the future&period;
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:absl/operator_bitand-06.adoc[`operator&amp;`]
| Computes the bitwise AND of two `StatusToStringMode` values&period;
| xref:absl/operator_and_eq-0e.adoc[`operator&amp;&equals;`]
| Assigns to `lhs` the bitwise AND of `lhs` and `rhs`&period;
| xref:absl/operator_xor-0b.adoc[`operator&circ;`]
| Computes the bitwise XOR of two `StatusToStringMode` values&period;
| xref:absl/operator_xor_eq-0c.adoc[`operator&circ;&equals;`]
| Assigns to `lhs` the bitwise XOR of `lhs` and `rhs`&period;
| xref:absl/operator_bitor-08c.adoc[`operator&verbar;`]
| Computes the bitwise OR of two `StatusToStringMode` values&period;
| xref:absl/operator_or_eq-0c.adoc[`operator&verbar;&equals;`]
| Assigns to `lhs` the bitwise OR of `lhs` and `rhs`&period;
| xref:absl/operator_bitnot-0f.adoc[`operator&#126;`]
| Computes the bitwise complement of a `StatusToStringMode` value&period;
|===


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