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