Hello, suppose I create a request
request = SomeRequest(name="Name", data=data)
and send that off to the gRPC server:
response = some_stub.DoStuff(request)
then all works fine for
grpc.Status.OK. However, it seems that any error response status causes an exception on the calling client, e.g.
E grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
E status = StatusCode.INVALID_ARGUMENT
E details = "..."
E debug_error_string = "..."
E >
Is that exception intended, i.e. does any error response always result in an exception here?
I’m also a little befuddled by the “inactive” and I wonder if I’m missing something, or if this just odd naming?
Much thanks!
Jens