Hi, how to use error_details send from server via (C++):
grpc::ServerAsyncResponseWriter<?>::FinishWithError(Status(StatusCode code, const grpc::string& error_message, const grpc::string& error_details))
to java client, other than using (Java):
Metadata m = Status.trailersFromThrowable(t);
byte[] error_details = m.get(Metadata.Key.of("grpc-status-details-bin", Metadata.BINARY_BYTE_MARSHALLER));
That key, that I have to pass, - "grpc-status-details-bin" - is bothering me the most. Should it be accessible via some Java API?
--
regards
Przemysław Sobala