Hope this is the right place for questions about grpc usage. Please let me know if stackoverflow with #grpc tag is where to go in future.
However, I am not aware of a way to determine on server what has gone wrong.
1) If I try to reply (e.g. send_initial_metadata) to a call that has been cancelled, it seems on server I get an RpcError with no details about what happened
2) If I try to reply (e.g. send_initial_metadata) to a call that has exceeded deadline, it seems on server I get an RpcError with no details about what happened
I'm not sure if I've misinterpreted the document when it says the status codes can be generated on both client and server, which I interpreted it to mean on the server I would be able to determine when call was in this state.
Is there some method on the server I am missing?