diff options
author | ncteisen <ncteisen@gmail.com> | 2017-12-04 13:29:33 -0800 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2017-12-04 13:29:33 -0800 |
commit | 11f6780bfd4600398da1ccb6b7c624e6704e8aa5 (patch) | |
tree | 0c547a95b96adf2d7ee7e85efb2d4e88d654eb62 /include/grpc++ | |
parent | 64e0b10a972238adffeaf4e4a736ee031d439a31 (diff) |
Add comment with API
Diffstat (limited to 'include/grpc++')
-rw-r--r-- | include/grpc++/impl/codegen/client_context.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/grpc++/impl/codegen/client_context.h b/include/grpc++/impl/codegen/client_context.h index 9fe5f4093e..b06b1fa44f 100644 --- a/include/grpc++/impl/codegen/client_context.h +++ b/include/grpc++/impl/codegen/client_context.h @@ -348,6 +348,11 @@ class ClientContext { /// Applications never need to call this method. grpc_call* c_call() { return call_; } + /// EXPERIMENTAL debugging API + /// + /// if status is not ok() for an RPC, this will return a detailed string + /// of the gRPC Core error that led to the failure. It should not be relied + /// upon for anything other than gaining more debug data in failure cases. grpc::string debug_error_string() const { return debug_error_string_; } private: |