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 
<https://grpc.github.io/grpc/core/md_doc_statuscodes.html>. 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

-- 
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 on the web visit 
https://groups.google.com/d/msgid/grpc-io/31ddce95-f049-49dc-bd09-1334d44587d3n%40googlegroups.com.

Reply via email to