Depending on whether or not the client is async, it returns entirely different exception types: RpcError and AioRpcError respectively.
The grpcutil module should have an exception type that can be used to catch both of these and handle them equivalently.
Depending on whether or not the client is async, it returns entirely different exception types:
RpcErrorandAioRpcErrorrespectively.The grpcutil module should have an exception type that can be used to catch both of these and handle them equivalently.