Hi Experts,

We are working in an internal framework that defines certain error codes 
which must be transmitted via gRPC status codes. Initially, since the 
services were implemented in Go, this requirement seemed fine. However, we 
later discovered that the Python library's server implementation cannot 
return non-standard gRPC status codes.

According to a comment in the grpc repository, the Python implementation 
intentionally doesn't support returning non-standard gRPC status codes (
https://github.com/grpc/grpc/issues/13321#issuecomment-343238554), whereas 
Go's implementation has no such restriction. I am not familiar with the 
gRPC implementations in other languages, so I am unsure of their behavior.

We know we can transmit these messages through error details, but we are 
confused by the substantial differences in behavior between the 
implementations in different languages. Is there any plan to standardize 
this behavior across languages?

Regards,
lcy

-- 
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 grpc-io+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/grpc-io/ebdee43d-b6e1-4037-b744-346d7b59dbaan%40googlegroups.com.

Reply via email to