aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2017-11-13 08:02:35 -0800
committerGravatar ncteisen <ncteisen@gmail.com>2017-11-13 08:02:35 -0800
commit40737d67ee93f3c60be1f0ff6486d6f045646312 (patch)
treefa41a4f70bc29d45be6cb8f532d71cb9525019f0 /include/grpc++
parent396d26539af8ce8ff8b737b574800ab814f0e625 (diff)
Add error string to recv status API
Diffstat (limited to 'include/grpc++')
-rw-r--r--include/grpc++/impl/codegen/call.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/grpc++/impl/codegen/call.h b/include/grpc++/impl/codegen/call.h
index 1a988297dc..91f45b3147 100644
--- a/include/grpc++/impl/codegen/call.h
+++ b/include/grpc++/impl/codegen/call.h
@@ -579,6 +579,7 @@ class CallOpClientRecvStatus {
op->data.recv_status_on_client.trailing_metadata = metadata_map_->arr();
op->data.recv_status_on_client.status = &status_code_;
op->data.recv_status_on_client.status_details = &error_message_;
+ op->data.recv_status_on_client.error_string = &error_string_;
op->flags = 0;
op->reserved = NULL;
}
@@ -605,6 +606,7 @@ class CallOpClientRecvStatus {
Status* recv_status_;
grpc_status_code status_code_;
grpc_slice error_message_;
+ const char* error_string_;
};
/// An abstract collection of call ops, used to generate the