[#absl-BadStatusOrAccess-2constructor-05]
= xref:absl.adoc[absl]::xref:absl/BadStatusOrAccess.adoc[BadStatusOrAccess]::BadStatusOrAccess
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

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

Copy constructor&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/BadStatusOrAccess/2constructor-0a.adoc[BadStatusOrAccess](xref:absl/BadStatusOrAccess.adoc[BadStatusOrAccess] const& other);
----

[.small]#xref:absl/BadStatusOrAccess/2constructor-0a.adoc[_» more&period;&period;&period;_]#

Move constructor&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/BadStatusOrAccess/2constructor-02.adoc[BadStatusOrAccess](xref:absl/BadStatusOrAccess.adoc[BadStatusOrAccess]&& other);
----

[.small]#xref:absl/BadStatusOrAccess/2constructor-02.adoc[_» more&period;&period;&period;_]#

Constructs the exception from the associated error status&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:absl/BadStatusOrAccess/2constructor-04.adoc[BadStatusOrAccess](xref:absl/Status.adoc[absl::Status] status);
----

[.small]#xref:absl/BadStatusOrAccess/2constructor-04.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The exception object to copy from&period;
| *status*
| The non&hyphen;ok status describing the failing access&period;
|===


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