diff options
author | Craig Tiller <ctiller@google.com> | 2016-04-28 08:34:29 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-04-28 08:34:29 -0700 |
commit | f128cd2c6eb2494e48d093f4370106e90edbc424 (patch) | |
tree | a085c3521b69eb4c7a1cee8e3cb750d7a07be6c4 /include | |
parent | b364a318de6e204d89fe550a5bd6663a661610ce (diff) | |
parent | f02bada24fc67bc1a6e93108ce466d969a04afd1 (diff) |
Merge pull request #6196 from y-zeng/call-error-to-string
Provide a function that converts grpc_call_error values into a string
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc/grpc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/grpc/grpc.h b/include/grpc/grpc.h index 5c868aece3..0ca28c0fef 100644 --- a/include/grpc/grpc.h +++ b/include/grpc/grpc.h @@ -384,6 +384,9 @@ GRPCAPI int grpc_header_nonbin_value_is_legal(const char *value, size_t length); /** Check whether a metadata key corresponds to a binary value */ GRPCAPI int grpc_is_binary_header(const char *key, size_t length); +/** Convert grpc_call_error values to a string */ +GRPCAPI const char *grpc_call_error_to_string(grpc_call_error error); + #ifdef __cplusplus } #endif |