Go to the documentation of this file.
19 #ifndef GRPCPP_IMPL_CODEGEN_STATUS_H
20 #define GRPCPP_IMPL_CODEGEN_STATUS_H
38 "Mismatched status code");
41 "Mismatched status code");
44 "Mismatched status code");
47 "Mismatched status code");
50 "Mismatched status code");
53 "Mismatched status code");
56 "Mismatched status code");
59 "Mismatched status code");
62 "Mismatched status code");
65 "Mismatched status code");
68 "Mismatched status code");
71 "Mismatched status code");
74 "Mismatched status code");
77 "Mismatched status code");
80 "Mismatched status code");
83 "Mismatched status code");
86 "Mismatched status code");
133 #endif // GRPCPP_IMPL_CODEGEN_STATUS_H
grpc::string error_details() const
Return the (binary) error details.
Definition: status.h:115
The service is currently unavailable.
Definition: status_code_enum.h:132
Internal errors.
Definition: status.h:127
The operation was aborted, typically due to a concurrency issue like sequencer check failures,...
Definition: status.h:102
Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out ...
Definition: status.h:74
This header provides an object that reads bytes directly from a grpc::ByteBuffer, via the ZeroCopyInp...
Definition: alarm.h:24
The request does not have valid authentication credentials for the operation.
Definition: status.h:70
The caller does not have permission to execute the specified operation.
Definition: status_code_enum.h:62
Status()
Construct an OK instance.
Definition: status.h:34
Unknown error.
Definition: status.h:38
Operation is not implemented or not supported/enabled in this service.
Definition: status.h:122
The caller does not have permission to execute the specified operation.
Definition: status.h:66
Some entity that we attempted to create (e.g., file or directory) already exists.
Definition: status_code_enum.h:55
bool ok() const
Is the status OK?
Definition: status.h:118
Unrecoverable data loss or corruption.
Definition: status_code_enum.h:135
Operation was rejected because the system is not in a state required for the operation's execution.
Definition: status_code_enum.h:90
Unrecoverable data loss or corruption.
Definition: status.h:144
Did it work? If it didn't, why?
Definition: status.h:31
Operation was attempted past the valid range.
Definition: status.h:119
Client specified an invalid argument.
Definition: status.h:44
Deadline expired before operation could complete.
Definition: status.h:51
The service is currently unavailable.
Definition: status.h:141
Not an error; returned on success.
Definition: status_code_enum.h:26
StatusCode
Definition: status_code_enum.h:24
Status(StatusCode code, const grpc::string &error_message, const grpc::string &error_details)
Construct an instance with code, error_message and error_details.
Definition: status.h:97
void IgnoreError() const
Definition: status.h:123
static const Status & CANCELLED
A CANCELLED pre-defined instance.
Definition: status.h:107
Some requested entity (e.g., file or directory) was not found.
Definition: status.h:54
StatusCode error_code() const
Return the instance's error code.
Definition: status.h:110
The operation was aborted, typically due to a concurrency issue like sequencer check failures,...
Definition: status_code_enum.h:97
Not an error; returned on success.
Definition: status.h:28
Deadline expired before operation could complete.
Definition: status_code_enum.h:48
static const Status & OK
An OK pre-defined instance.
Definition: status.h:105
Operation is not implemented or not supported/enabled in this service.
Definition: status_code_enum.h:115
Some requested entity (e.g., file or directory) was not found.
Definition: status_code_enum.h:51
The operation was cancelled (typically by the caller).
Definition: status_code_enum.h:29
Operation was attempted past the valid range.
Definition: status_code_enum.h:112
grpc::string error_message() const
Return the instance's error message.
Definition: status.h:112
std::string string
Definition: config.h:35
Client specified an invalid argument.
Definition: status_code_enum.h:41
Unknown error.
Definition: status_code_enum.h:35
Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out ...
Definition: status_code_enum.h:70
The request does not have valid authentication credentials for the operation.
Definition: status_code_enum.h:66
The operation was cancelled (typically by the caller).
Definition: status.h:31
Operation was rejected because the system is not in a state required for the operation's execution.
Definition: status.h:95
Status(StatusCode code, const grpc::string &error_message)
Construct an instance with associated code and error_message.
Definition: status.h:91
Internal errors.
Definition: status_code_enum.h:119
Some entity that we attempted to create (e.g., file or directory) already exists.
Definition: status.h:58