Home
last modified time | relevance | path

Searched refs:debug_error_string (Results 1 – 24 of 24) sorted by relevance

/third_party/grpc/src/ruby/lib/grpc/
Derrors.rb43 debug_error_string = nil) argument
45 if debug_error_string
46 exception_message += ". debug_error_string:#{debug_error_string}"
52 @debug_error_string = debug_error_string
60 Struct::Status.new(code, details, metadata, debug_error_string)
80 debug_error_string = nil) argument
101 BadStatus.new(code, details, metadata, debug_error_string)
103 codes[code].new(details, metadata, debug_error_string)
112 debug_error_string = nil) argument
114 details, metadata, debug_error_string)
[all …]
/third_party/grpc/test/cpp/interop/
Dinterop_client.cc166 if (!AssertStatusOk(s, context.debug_error_string())) { in DoEmpty()
196 if (!AssertStatusOk(s, context.debug_error_string())) { in PerformLargeUnary()
246 if (!AssertStatusOk(s, context.debug_error_string())) { in DoOauth2AuthToken()
274 if (!AssertStatusOk(s, context.debug_error_string())) { in DoPerRpcCreds()
435 if (!AssertStatusOk(s, context.debug_error_string())) { in DoRequestStreaming()
474 if (!AssertStatusOk(s, context.debug_error_string())) { in DoResponseStreaming()
539 if (!AssertStatusOk(s, context.debug_error_string())) { in DoClientCompressedStreaming()
600 if (!AssertStatusOk(s, context.debug_error_string())) { in DoServerCompressedStreaming()
641 if (!AssertStatusOk(s, context.debug_error_string())) { in DoResponseStreamingWithSlowConsumer()
688 if (!AssertStatusOk(s, context.debug_error_string())) { in DoHalfDuplex()
[all …]
/third_party/grpc/src/python/grpcio_tests/tests/unit/
D_rpc_part_1_test.py110 debug_error_string = exception_context.exception.debug_error_string()
111 self.assertIn('created', debug_error_string)
112 self.assertIn('description', debug_error_string)
113 self.assertIn('file', debug_error_string)
114 self.assertIn('file_line', debug_error_string)
D_rpc_test.py293 self.assertEqual('', call.debug_error_string())
715 debug_error_string = exception_context.exception.debug_error_string()
716 self.assertIn('created', debug_error_string)
717 self.assertIn('description', debug_error_string)
718 self.assertIn('file', debug_error_string)
719 self.assertIn('file_line', debug_error_string)
D_rpc_part_2_test.py77 self.assertEqual('', call.debug_error_string())
/third_party/grpc/src/python/grpcio/grpc/_cython/_cygrpc/aio/
Drpc_status.pyx.pxi25 str debug_error_string): argument
29 self._debug_error_string = debug_error_string
40 cpdef str debug_error_string(self): member in AioRpcStatus
Drpc_status.pxd.pxi28 cpdef str debug_error_string(self) member in AioRpcStatus
Dcall.pyx.pxi88 self._status.debug_error_string())
/third_party/grpc/src/python/grpcio_tests/tests_aio/unit/
Daio_rpc_error_test.py39 debug_error_string=_TEST_DEBUG_ERROR_STRING)
46 self.assertEqual(aio_rpc_error.debug_error_string(),
Dclient_stream_stream_interceptor_test.py104 self.assertEqual(await call.debug_error_string(), '')
146 self.assertEqual(await call.debug_error_string(), '')
189 self.assertEqual(await call.debug_error_string(), '')
Dclient_stream_unary_interceptor_test.py98 self.assertEqual(await call.debug_error_string(), '')
137 self.assertEqual(await call.debug_error_string(), '')
236 self.assertEqual(await call.debug_error_string(), '')
Dclient_unary_stream_interceptor_test.py102 self.assertEqual(await call.debug_error_string(), '')
Dclient_unary_unary_interceptor_test.py269 self.assertEqual(await call.debug_error_string(), None)
/third_party/grpc/src/python/grpcio/grpc/experimental/aio/
D_call.py73 debug_error_string: Optional[str] = None) -> None:
89 self._debug_error_string = debug_error_string
123 def debug_error_string(self) -> str: member in AioRpcError
151 debug_error_string=status.debug_error_string(),
223 async def debug_error_string(self) -> str: member in Call
224 return (await self._cython_call.status()).debug_error_string()
D_interceptor.py414 async def debug_error_string(self) -> Optional[str]: member in InterceptedCall
418 return err.debug_error_string()
422 return await call.debug_error_string()
892 async def debug_error_string(self) -> Optional[str]: member in UnaryUnaryCallResponse
944 async def debug_error_string(self) -> Optional[str]: member in _StreamCallResponseIterator
945 return await self._call.debug_error_string()
/third_party/grpc/src/python/grpcio/grpc/aio/
D_call.py73 debug_error_string: Optional[str] = None) -> None:
89 self._debug_error_string = debug_error_string
123 def debug_error_string(self) -> str: member in AioRpcError
151 debug_error_string=status.debug_error_string(),
223 async def debug_error_string(self) -> str: member in Call
224 return (await self._cython_call.status()).debug_error_string()
D_interceptor.py413 async def debug_error_string(self) -> Optional[str]: member in InterceptedCall
417 return err.debug_error_string()
421 return await call.debug_error_string()
891 async def debug_error_string(self) -> Optional[str]: member in UnaryUnaryCallResponse
943 async def debug_error_string(self) -> Optional[str]: member in _StreamCallResponseIterator
944 return await self._call.debug_error_string()
/third_party/grpc/src/python/grpcio/grpc/
D_channel.py105 self.debug_error_string = None
156 state.debug_error_string = batch_operation.error_string()
270 rpc_state.debug_error_string)
289 self._state.debug_error_string = copy.copy(state.debug_error_string)
303 def debug_error_string(self): member in _InactiveRpcError
304 return _common.decode(self._state.debug_error_string)
421 def debug_error_string(self): member in _Rendezvous
622 def debug_error_string(self): member in _SingleThreadedRendezvous
624 if self._state.debug_error_string is None:
627 return _common.decode(self._state.debug_error_string)
[all …]
/third_party/grpc/include/grpcpp/impl/codegen/
Dclient_context.h418 std::string debug_error_string() const { return debug_error_string_; } in debug_error_string() function
458 void set_debug_error_string(const std::string& debug_error_string) { in set_debug_error_string() argument
459 debug_error_string_ = debug_error_string; in set_debug_error_string()
Dclient_context_impl.h411 std::string debug_error_string() const { return debug_error_string_; } in debug_error_string() function
450 void set_debug_error_string(const std::string& debug_error_string) { in set_debug_error_string() argument
451 debug_error_string_ = debug_error_string; in set_debug_error_string()
/third_party/grpc/test/cpp/ios/CronetTests/
DCppCronetEnd2EndTests.mm217 XCTAssertTrue(context.debug_error_string().empty());
485 XCTAssertTrue(context.debug_error_string().find("created") != std::string::npos);
486 XCTAssertTrue(context.debug_error_string().find("file") != std::string::npos);
487 XCTAssertTrue(context.debug_error_string().find("line") != std::string::npos);
488 XCTAssertTrue(context.debug_error_string().find("status") != std::string::npos);
489 XCTAssertTrue(context.debug_error_string().find("13") != std::string::npos);
/third_party/grpc/test/cpp/end2end/
Dend2end_test.cc914 EXPECT_TRUE(context.debug_error_string().empty()); in TEST_P()
1460 EXPECT_TRUE(context.debug_error_string().find("created") != in TEST_P()
1462 EXPECT_TRUE(context.debug_error_string().find("file") != std::string::npos); in TEST_P()
1463 EXPECT_TRUE(context.debug_error_string().find("line") != std::string::npos); in TEST_P()
1464 EXPECT_TRUE(context.debug_error_string().find("status") != in TEST_P()
1466 EXPECT_TRUE(context.debug_error_string().find("13") != std::string::npos); in TEST_P()
/third_party/grpc/test/cpp/util/
Dproto_reflection_descriptor_database.cc56 ctx_.debug_error_string().c_str()); in ~ProtoReflectionDescriptorDatabase()
/third_party/grpc/src/ruby/lib/grpc/generic/
Dactive_call.rb31 status.debug_error_string)