Home
last modified time | relevance | path

Searched refs:http_error (Results 1 – 14 of 14) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/tools/gcp/utils/
Dbig_query_utils.py55 except HttpError as http_error:
56 if http_error.resp.status == 409:
61 (dataset_id, http_error))
131 except HttpError as http_error:
132 if http_error.resp.status == 409:
136 (table_id, http_error))
162 except HttpError as http_error:
163 print('Error in creating table: %s. Err: %s' % (table_id, http_error))
180 except HttpError as http_error:
182 print('Error message: %s' % http_error)
[all …]
/external/grpc-grpc/tools/gcp/utils/
Dbig_query_utils.py51 except HttpError as http_error:
52 if http_error.resp.status == 409:
57 http_error)
126 except HttpError as http_error:
127 if http_error.resp.status == 409:
131 http_error)
158 except HttpError as http_error:
159 print 'Error in creating table: %s. Err: %s' % (table_id, http_error)
177 except HttpError as http_error:
191 except HttpError as http_error:
[all …]
/external/protobuf/benchmarks/util/
Dbig_query_utils.py39 except HttpError as http_error:
40 if http_error.resp.status == 409:
45 http_error))
114 except HttpError as http_error:
115 if http_error.resp.status == 409:
119 http_error))
146 except HttpError as http_error:
147 print('Error in creating table: %s. Err: %s' % (table_id, http_error))
165 except HttpError as http_error:
179 except HttpError as http_error:
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/transport/
Derror_utils.cc50 grpc_http2_error_code* http_error, in grpc_error_get_status() argument
66 if (http_error != nullptr) { in grpc_error_get_status()
67 *http_error = GRPC_HTTP2_NO_ERROR; in grpc_error_get_status()
102 if (http_error != nullptr) { in grpc_error_get_status()
104 *http_error = static_cast<grpc_http2_error_code>(integer); in grpc_error_get_status()
107 *http_error = in grpc_error_get_status()
110 *http_error = found_error == GRPC_ERROR_NONE ? GRPC_HTTP2_NO_ERROR in grpc_error_get_status()
Derror_utils.h39 grpc_http2_error_code* http_error,
/external/grpc-grpc/src/core/lib/transport/
Derror_utils.cc48 grpc_http2_error_code* http_error, in grpc_error_get_status() argument
80 if (http_error != nullptr) { in grpc_error_get_status()
82 *http_error = static_cast<grpc_http2_error_code>(integer); in grpc_error_get_status()
85 *http_error = in grpc_error_get_status()
88 *http_error = found_error == GRPC_ERROR_NONE ? GRPC_HTTP2_NO_ERROR in grpc_error_get_status()
/external/python/apitools/apitools/base/py/
Dbase_api_test.py222 http_error = err.exception
223 self.assertEquals('http://www.google.com', http_error.url)
224 self.assertEquals('{"field": "abc"}', http_error.content)
225 self.assertEquals(method_config, http_error.method_config)
226 self.assertEquals(request, http_error.request)
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/
Drun_xds_tests.py1588 except googleapiclient.errors.HttpError as http_error:
1591 '0.0.0.0:%d. Retrying with another port.' % (http_error, port))
1662 except googleapiclient.errors.HttpError as http_error:
1663 logger.info('Delete failed: %s', http_error)
1679 except googleapiclient.errors.HttpError as http_error:
1680 logger.info('Delete failed: %s', http_error)
1689 except googleapiclient.errors.HttpError as http_error:
1690 logger.info('Delete failed: %s', http_error)
1699 except googleapiclient.errors.HttpError as http_error:
1700 logger.info('Delete failed: %s', http_error)
[all …]
/external/python/cpython2/Lib/
Durllib.py364 return self.http_error(url, fp, errcode, errmsg, headers)
366 return self.http_error(url, fp, errcode, errmsg, headers, data)
368 def http_error(self, url, fp, errcode, errmsg, headers, data=None): member in URLopener
457 return self.http_error(url, fp, errcode, errmsg, headers)
459 return self.http_error(url, fp, errcode, errmsg, headers,
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dchttp2_transport.cc1765 grpc_http2_error_code http_error; in send_goaway() local
1768 &http_error, nullptr); in send_goaway()
1770 static_cast<uint32_t>(http_error), in send_goaway()
2061 grpc_http2_error_code http_error; in grpc_chttp2_cancel_stream() local
2063 &http_error, nullptr); in grpc_chttp2_cancel_stream()
2067 s->id, static_cast<uint32_t>(http_error), &s->stats.outgoing)); in grpc_chttp2_cancel_stream()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/
Dchttp2_transport.cc1718 grpc_http2_error_code http_error; in send_goaway() local
1721 &http_error, nullptr); in send_goaway()
1723 static_cast<uint32_t>(http_error), in send_goaway()
2036 grpc_http2_error_code http_error; in grpc_chttp2_cancel_stream() local
2038 &http_error, nullptr); in grpc_chttp2_cancel_stream()
2040 t, s->id, static_cast<uint32_t>(http_error), &s->stats.outgoing); in grpc_chttp2_cancel_stream()
/external/python/cpython3/Lib/urllib/
Drequest.py1954 return self.http_error(
1962 def http_error(self, url, fp, errcode, errmsg, headers, data=None): member in URLopener
/external/python/cpython2/Misc/
DHISTORY10476 http_error had the 'data is None' test backwards. don't call with the
/external/python/cpython3/Misc/
DHISTORY27855 http_error had the 'data is None' test backwards. don't call with the