aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-04-28 08:34:29 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-04-28 08:34:29 -0700
commitf128cd2c6eb2494e48d093f4370106e90edbc424 (patch)
treea085c3521b69eb4c7a1cee8e3cb750d7a07be6c4 /include
parentb364a318de6e204d89fe550a5bd6663a661610ce (diff)
parentf02bada24fc67bc1a6e93108ce466d969a04afd1 (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.h3
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