Home
last modified time | relevance | path

Searched refs:rpc_error (Results 1 – 8 of 8) sorted by relevance

/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/_server/
D_service.py29 rpc_error = grpc.RpcError()
30 self._rpc.add_rpc_error(rpc_error)
31 raise rpc_error
D_rpc.py80 def add_rpc_error(self, rpc_error): argument
82 self._rpc_errors.append(rpc_error)
/external/grpc-grpc/src/python/grpcio_tests/tests/testing/
D_client_application.py234 except grpc.RpcError as rpc_error:
235 return Outcome(Outcome.Kind.RPC_ERROR, rpc_error.code(),
236 rpc_error.details())
/external/pigweed/pw_rpc/nanopb/
Dnanopb_client_call_test.cc109 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()
/external/pigweed/pw_rpc/nanopb/pw_rpc_nanopb_private/
Dinternal_test_utils.h79 constexpr Status rpc_error() const { return rpc_error_; } in rpc_error() function
110 constexpr Status rpc_error() const { return rpc_error_; } in rpc_error() function
/external/grpc-grpc/src/python/grpcio_tests/tests/interop/
Dmethods.py303 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:
/external/grpc-grpc/src/python/grpcio/grpc/
D_server.py109 rpc_error = grpc.RpcError()
110 state.rpc_errors.append(rpc_error)
111 raise rpc_error
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/
Drun_xds_tests.py1897 except grpc.RpcError as rpc_error:
1899 instance_name, rpc_error)