Creates a status with the kUnavailable error code and message.
Synopsis
Declared in <absl/status/status.h>
template<
typename String,
typename = /* implementation-defined */::EnableIfString<String>>
Status
UnavailableError(
String&& message,
absl::SourceLocation loc = SourceLocation::current());
Return Value
A status with the kUnavailable error code.
Parameters
Name |
Description |
message |
The error message. |
loc |
The source location of the callsite. |
Created with MrDocs