aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <zyc@google.com>2016-04-15 17:29:57 -0700
committerGravatar Yuchen Zeng <zyc@google.com>2016-04-15 17:49:38 -0700
commit2e7d957a63c9bcfe0235f8b5d55fd9a372a32ced (patch)
tree0ac7b5a36fb2a3ddfa817cacdac4b48947a1233b /include
parent8910349e1f85343829dfac8d1fdaf352a41977df (diff)
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