Home
last modified time | relevance | path

Searched refs:RpcError (Results 1 – 25 of 28) sorted by relevance

12

/external/pigweed/pw_rpc/nanopb/public/pw_rpc/
Dnanopb_client_call.h37 virtual void RpcError(Status) {} in RpcError() function
54 virtual void RpcError(Status) {} in RpcError() function
144 callback_.RpcError(packet.status());
155 callback_.RpcError(Status::DataLoss());
163 callback_.RpcError(packet.status());
178 callback_.RpcError(Status::DataLoss());
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/
D_rpc_test.py199 with self.assertRaises(grpc.RpcError) as exception_context:
398 except grpc.RpcError:
509 with self.assertRaises(grpc.RpcError) as exception_context:
555 with self.assertRaises(grpc.RpcError):
567 with self.assertRaises(grpc.RpcError) as exception_context:
599 with self.assertRaises(grpc.RpcError) as exception_context:
603 self.assertIsInstance(response_future.exception(), grpc.RpcError)
613 with self.assertRaises(grpc.RpcError) as exception_context:
632 with self.assertRaises(grpc.RpcError) as exception_context:
639 self.assertIsInstance(exception_context.exception, grpc.RpcError)
[all …]
D_metadata_code_details_test.py318 with self.assertRaises(grpc.RpcError) as exception_context:
349 with self.assertRaises(grpc.RpcError):
374 with self.assertRaises(grpc.RpcError) as exception_context:
408 with self.assertRaises(grpc.RpcError):
429 with self.assertRaises(grpc.RpcError) as exception_context:
453 with self.assertRaises(grpc.RpcError):
473 with self.assertRaises(grpc.RpcError) as exception_context:
500 with self.assertRaises(grpc.RpcError) as exception_context:
521 with self.assertRaises(grpc.RpcError) as exception_context:
546 with self.assertRaises(grpc.RpcError):
[all …]
D_invocation_defects_test.py222 with self.assertRaises(grpc.RpcError):
235 with self.assertRaises(grpc.RpcError):
245 with self.assertRaises(grpc.RpcError):
256 with self.assertRaises(grpc.RpcError):
264 with self.assertRaises(grpc.RpcError) as exception_context:
D_resource_exhausted_test.py159 with self.assertRaises(grpc.RpcError) as exception_context:
184 with self.assertRaises(grpc.RpcError) as exception_context:
210 with self.assertRaises(grpc.RpcError) as exception_context:
237 with self.assertRaises(grpc.RpcError) as exception_context:
D_server_ssl_cert_config_test.py168 with self.assertRaises(grpc.RpcError) as exception_context:
/external/grpc-grpc/src/python/grpcio_tests/tests/protoc_plugin/
D_python_plugin_test.py245 with self.assertRaises(grpc.RpcError) as exception_context:
278 with self.assertRaises(grpc.RpcError) as exception_context:
321 with self.assertRaises(grpc.RpcError) as exception_context:
333 with self.assertRaises(grpc.RpcError) as exception_context:
344 with self.assertRaises(grpc.RpcError) as exception_context:
376 with self.assertRaises(grpc.RpcError) as exception_context:
378 self.assertIsInstance(response_future.exception(), grpc.RpcError)
421 with self.assertRaises(grpc.RpcError) as exception_context:
433 with self.assertRaises(grpc.RpcError) as exception_context:
444 with self.assertRaises(grpc.RpcError) as exception_context:
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/rpc/
DRpcError.java20 public class RpcError extends Exception { class
22 public RpcError(String message) { in RpcError() method in RpcError
DMethodDescriptor.java89 throw new RpcError("Too many parameters specified."); in invoke()
99 throw new RpcError("Argument " + (i + 1) + " is not present"); in invoke()
127 throw new RpcError("Argument " + (i + 1) + " is not present"); in invoke()
153 throws JSONException, RpcError { in convertParameter()
203 throw new RpcError("Argument " + (index + 1) + " should be of type " in convertParameter()
/external/pigweed/pw_rpc/nanopb/pw_rpc_nanopb_private/
Dinternal_test_utils.h74 void RpcError(Status status) override { rpc_error_ = status; } in RpcError() function
104 void RpcError(Status status) override { rpc_error_ = status; } in RpcError() function
/external/pigweed/pw_rpc/py/pw_rpc/
Dcallback_client.py162 class RpcError(Exception): class
304 self._error: Optional[RpcError] = None
315 self._error = RpcError(self._rpc, status)
374 lambda rpc, status: responses.put(RpcError(rpc, status)))
/external/pigweed/pw_rpc/nanopb/
Ddocs.rst189 virtual void RpcError(Status) {}
202 .. cpp:function:: virtual void UnaryResponseHandler::RpcError(Status status)
245 virtual void RpcError(Status) {}
262 .. cpp:function:: virtual void ServerStreamingResponseHandler::RpcError(Status status)
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/_server/
D_service.py29 rpc_error = grpc.RpcError()
/external/grpc-grpc/src/python/grpcio/grpc/
D_interceptor.py78 class _FailureOutcome(grpc.RpcError, grpc.Future, grpc.Call):
219 except grpc.RpcError:
319 except grpc.RpcError:
D__init__.py240 class RpcError(Exception): class
D_channel.py251 class _Rendezvous(grpc.RpcError, grpc.Future, grpc.Call):
323 except grpc.RpcError:
D_server.py109 rpc_error = grpc.RpcError()
/external/grpc-grpc/src/python/grpcio/grpc/beta/
D_client_adaptations.py96 except grpc.RpcError as rpc_error_call:
132 except grpc.RpcError as rpc_error_call:
194 except grpc.RpcError as rpc_error_call:
253 except grpc.RpcError as rpc_error_call:
/external/autotest/server/hosts/drone_api_client/
Dclient.py51 except grpc.RpcError as e:
/external/grpc-grpc/src/python/grpcio_tests/tests/health_check/
D_health_servicer_test.py71 with self.assertRaises(grpc.RpcError) as context:
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/html/
DHtmlActivityTask.java49 import com.googlecode.android_scripting.rpc.RpcError;
228 return JsonRpcResult.error(id, new RpcError("Unknown RPC.")).toString(); in call()
/external/grpc-grpc/src/python/grpcio_tests/tests/testing/
D_client_application.py234 except grpc.RpcError as rpc_error:
/external/grpc-grpc/src/python/grpcio_tests/tests/interop/
Dmethods.py303 except grpc.RpcError as rpc_error:
321 except grpc.RpcError as rpc_error:
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/_channel/
D_invocation.py90 class _RpcErrorCall(grpc.RpcError, grpc.Call):
/external/pigweed/pw_rpc/py/tests/
Dcallback_client_test.py229 with self.assertRaises(callback_client.RpcError) as context:

12