Searched refs:rpc_error (Results 1 – 8 of 8) sorted by relevance
29 rpc_error = grpc.RpcError()30 self._rpc.add_rpc_error(rpc_error)31 raise rpc_error
80 def add_rpc_error(self, rpc_error): argument82 self._rpc_errors.append(rpc_error)
234 except grpc.RpcError as rpc_error:235 return Outcome(Outcome.Kind.RPC_ERROR, rpc_error.code(),236 rpc_error.details())
109 EXPECT_EQ(handler.rpc_error(), Status::DataLoss()); in TEST()122 EXPECT_EQ(handler.rpc_error(), Status::NotFound()); in TEST()234 EXPECT_EQ(handler.rpc_error(), Status::DataLoss()); in TEST()244 EXPECT_EQ(handler.rpc_error(), Status::NotFound()); in TEST()
79 constexpr Status rpc_error() const { return rpc_error_; } in rpc_error() function110 constexpr Status rpc_error() const { return rpc_error_; } in rpc_error() function
303 except grpc.RpcError as rpc_error:304 if rpc_error.code() is not grpc.StatusCode.CANCELLED:321 except grpc.RpcError as rpc_error:322 if rpc_error.code() is not grpc.StatusCode.DEADLINE_EXCEEDED:
109 rpc_error = grpc.RpcError()110 state.rpc_errors.append(rpc_error)111 raise rpc_error
1897 except grpc.RpcError as rpc_error:1899 instance_name, rpc_error)