It is would be very nice to make application error handlers for gRPC as same as in http transport realization. I need to forward custom error with code and message and some other data from server to client and I have no other ideas then to put it all to metadata. I think that it is possible to do by putting error handler in server after decoder and invoker and client after invoker in the manner of http transport do.
It is would be very nice to make application error handlers for gRPC as same as in http transport realization. I need to forward custom error with code and message and some other data from server to client and I have no other ideas then to put it all to metadata. I think that it is possible to do by putting error handler in server after decoder and invoker and client after invoker in the manner of http transport do.