Thanks for the response, @Christopher. Yes, I am also doing something
similar ( rather using GRPC message, I am using my own message type], but
in nut shell I am using the Trailer approach. As I mentioned the Trailer
approach comes with some caveats. Hence, I wanted to know if there is a
better way to do this esp. Fault Contract approach mentioned here:
https://docs.microsoft.com/en-us/dotnet/architecture/grpc-for-wcf-developers/error-handling#grpc-richer-error-model

Regards,
-Vivek

On Mon, Mar 29, 2021 at 9:56 PM 'Christopher Warrington - MSFT' via grpc.io
<[email protected]> wrote:

> On Monday, March 29, 2021 at 1:33:03 PM UTC-7 Vivek wrote:
>
> > Rich error model is currently not supported in C#.
>
> While there's nothing built-in to either gRPC C# or gRPC.NET (yet?), you
> can
> implement it manually. I have a fully working gRPC.NET example at
> https://github.com/chwarr/grpc-dotnet-google-rpc-status.
>
> --
> Christopher Warrington
> Microsoft Corp.
>
> --
> 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/adcec07d-fb7f-4588-8567-31813a5cef4an%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/adcec07d-fb7f-4588-8567-31813a5cef4an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CABsnPPKFgHgK%2B-3SNkkH%2BS%2BqFBP3xvCZHZhePbAKO96j9i_o0Q%40mail.gmail.com.

Reply via email to