When we call Operation.poll(), we check the payload returned and if the operation is both done and has an error set, we could easily raise an exception. We could raise a GaxError? The underyling protobuf type is google.rpc.Status. (ref: operation proto)
When we call
Operation.poll(), we check the payload returned and if the operation is both done and has an error set, we could easily raise an exception. We could raise aGaxError? The underyling protobuf type isgoogle.rpc.Status. (ref: operation proto)