Have you tried calling <ClientWriter>Finish() to get the gRPC Status after 
Write() returned false?

On Monday, December 20, 2021 at 11:10:03 AM UTC-5 Roman Andronov wrote:

> C++ only: what is the way to extract the needed error code and the 
> corresponding error string from the GRPC library when the <ClientWriter> 
> Write() call fails?
>
> The <ClientWriter> Write() call returns a useless Boolean True/False value.
>
> That Write() call fails - how can the error code, the corresponding error 
> string and the overall Status of the respective Server-side call be 
> retrieved (if, say, it is known that the Server-side code that participates 
> in this Client streaming call fails)?
>
> Thank  you in advance.
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/6f4d4f3d-3fda-4fd3-b170-c32259d2ed8cn%40googlegroups.com.

Reply via email to