Creates a status with the kUnauthenticated error code and message.
Declared in <absl/status/status.h>
Creates a status with the kUnauthenticated error code and message.
Status
UnauthenticatedError(
std::string_view message,
absl::SourceLocation loc = SourceLocation::current());
» more...
Creates a status with the kUnauthenticated error code and message.
template<
typename String,
typename = /* implementation-defined */::EnableIfString<String>>
Status
UnauthenticatedError(
String&& message,
absl::SourceLocation loc = SourceLocation::current());
» more...
A status with the kUnauthenticated error code.
| Name | Description |
|---|---|
| message | The error message. |
| loc | The source location of the callsite. |