34 #ifndef GRPCXX_IMPL_CODEGEN_STATUS_H 35 #define GRPCXX_IMPL_CODEGEN_STATUS_H 53 : code_(code), details_(details) {}
76 #endif // GRPCXX_IMPL_CODEGEN_STATUS_H grpc::string error_message() const
Return the instance's error message.
Definition: status.h:64
std::string string
Definition: config.h:118
static const Status & CANCELLED
A CANCELLED pre-defined instance.
Definition: status.h:59
Not an error; returned on success.
Definition: status_code_enum.h:41
StatusCode
Definition: status_code_enum.h:39
Status()
Construct an OK instance.
Definition: status.h:48
Status(StatusCode code, const grpc::string &details)
Construct an instance with associated code and details (also.
Definition: status.h:52
StatusCode error_code() const
Return the instance's error code.
Definition: status.h:62
bool ok() const
Is the status OK?
Definition: status.h:67
Did it work? If it didn't, why?
Definition: status.h:45
static const Status & OK
An OK pre-defined instance.
Definition: status.h:57