Go to the documentation of this file.
19 #ifndef GRPCPP_IMPL_CODEGEN_STATUS_H
20 #define GRPCPP_IMPL_CODEGEN_STATUS_H
42 "Mismatched status code");
45 "Mismatched status code");
48 "Mismatched status code");
51 "Mismatched status code");
54 "Mismatched status code");
57 "Mismatched status code");
60 "Mismatched status code");
63 "Mismatched status code");
66 "Mismatched status code");
69 "Mismatched status code");
72 "Mismatched status code");
75 "Mismatched status code");
78 "Mismatched status code");
81 "Mismatched status code");
84 "Mismatched status code");
87 "Mismatched status code");
90 "Mismatched status code");
109 binary_error_details_(error_details) {}
141 #endif // GRPCPP_IMPL_CODEGEN_STATUS_H
@ GRPC_STATUS_UNAVAILABLE
static const Status & CANCELLED
A CANCELLED pre-defined instance.
@ GRPC_STATUS_UNAUTHENTICATED
bool ok() const
Is the status OK?
Status(StatusCode code, const std::string &error_message, const std::string &error_details)
@ GRPC_STATUS_PERMISSION_DENIED
@ GRPC_STATUS_DEADLINE_EXCEEDED
Status(StatusCode code, const std::string &error_message)
@ GRPC_STATUS_INVALID_ARGUMENT
@ GRPC_STATUS_RESOURCE_EXHAUSTED
tuple FAILED_PRECONDITION
const std::string error_message_
std::string error_message() const
Return the instance's error message.
@ OK
Not an error; returned on success.
std::string error_message_
static const Status & OK
An OK pre-defined instance.
@ GRPC_STATUS_ALREADY_EXISTS
@ GRPC_STATUS_OUT_OF_RANGE
Status()
Construct an OK instance.
std::string binary_error_details_
std::string error_details() const
Return the (binary) error details.
@ GRPC_STATUS_UNIMPLEMENTED
@ GRPC_STATUS_FAILED_PRECONDITION
StatusCode error_code() const
Return the instance's error code.
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:01:22