Go to the source code of this file.
Classes | |
class | grpc_core::internal::StatusCodeSet |
A set of grpc_status_code values. More... | |
Namespaces | |
grpc_core | |
grpc_core::internal | |
Functions | |
bool | grpc_status_code_from_int (int status_int, grpc_status_code *status) |
bool | grpc_status_code_from_string (const char *status_str, grpc_status_code *status) |
const char * | grpc_status_code_to_string (grpc_status_code status) |
Returns the string form of status, or "UNKNOWN" if invalid. More... | |
bool grpc_status_code_from_int | ( | int | status_int, |
grpc_status_code * | status | ||
) |
Definition at line 103 of file status_util.cc.
bool grpc_status_code_from_string | ( | const char * | status_str, |
grpc_status_code * | status | ||
) |
If status_str is a valid status string, sets status to the corresponding status value and returns true.
Definition at line 51 of file status_util.cc.
const char* grpc_status_code_to_string | ( | grpc_status_code | status | ) |
Returns the string form of status, or "UNKNOWN" if invalid.
Definition at line 62 of file status_util.cc.