absl::BadStatusOrAccess::BadStatusOrAccess

Constructors

Synopses

Declared in <absl/status/statusor.h>

Copy constructor.

BadStatusOrAccess(BadStatusOrAccess const& other);
» more...

Move constructor.

BadStatusOrAccess(BadStatusOrAccess&& other);
» more...

Constructs the exception from the associated error status.

explicit
BadStatusOrAccess(absl::Status status);
» more...

Parameters

NameDescription
otherThe exception object to copy from.
statusThe non-ok status describing the failing access.