You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just leaving a comment that with the new SyncClient and AsyncClient it might be okay to just leave the exceptions as different. My guess is most clients will be one or the other and not mixing behavior
Depending on whether or not the client is async, it returns entirely different exception types:
RpcError
andAioRpcError
respectively.The grpcutil module should have an exception type that can be used to catch both of these and handle them equivalently.
The text was updated successfully, but these errors were encountered: