Searched refs:HttpError (Results 1 – 25 of 34) sorted by relevance
12
/external/python/apitools/apitools/base/py/ |
D | exceptions_test.py | 32 err = exceptions.HttpError.FromResponse(_MakeResponse(400)) 33 self.assertIsInstance(err, exceptions.HttpError) 38 err = exceptions.HttpError.FromResponse(_MakeResponse(401)) 39 self.assertIsInstance(err, exceptions.HttpError) 44 err = exceptions.HttpError.FromResponse(_MakeResponse(403)) 45 self.assertIsInstance(err, exceptions.HttpError) 50 err = exceptions.HttpError.FromResponse(_MakeResponse(403)) 56 err = exceptions.HttpError.FromResponse(_MakeResponse(404)) 57 self.assertIsInstance(err, exceptions.HttpError) 62 err = exceptions.HttpError.FromResponse(_MakeResponse(409)) [all …]
|
D | exceptions.py | 50 class HttpError(CommunicationError): class 56 error_message = HttpError._build_message(response, content, url) 57 super(HttpError, self).__init__(error_message) 65 return HttpError._build_message(self.response, self.content, self.url) 91 class HttpBadRequestError(HttpError): 95 class HttpUnauthorizedError(HttpError): 99 class HttpForbiddenError(HttpError): 103 class HttpNotFoundError(HttpError): 107 class HttpConflictError(HttpError): 180 class RetryAfterError(HttpError): [all …]
|
D | batch.py | 452 raise exceptions.HttpError.FromResponse(response) 501 exception = exceptions.HttpError.FromResponse(response)
|
D | batch_test.py | 149 exceptions.HttpError) 509 exceptions.HttpError, batch_request._Execute, None) 634 self.assertIsInstance(exception, exceptions.HttpError)
|
/external/python/google-api-python-client/tests/ |
D | test_errors.py | 28 from googleapiclient.errors import HttpError 67 error = HttpError(resp, content, uri="http://example.org") 78 error = HttpError(resp, content) 88 error = HttpError(resp, content, uri="http://example.org") 101 error = HttpError(resp, content) 107 error = HttpError(resp, content) 113 error = HttpError(resp, content)
|
D | test_mocks.py | 29 from googleapiclient.errors import HttpError 159 except HttpError as e:
|
D | test_json_model.py | 35 from googleapiclient.errors import HttpError 188 except HttpError as e: 196 except HttpError as e:
|
D | test_http.py | 46 from googleapiclient.errors import HttpError 442 with self.assertRaises(HttpError): 551 except HttpError: 1006 with self.assertRaises(HttpError): 1029 with self.assertRaises(HttpError): 1050 with self.assertRaises(HttpError): 1071 with self.assertRaises(HttpError): 1097 with self.assertRaises(HttpError): 1621 self.assertRaises(HttpError, request.execute)
|
D | test_discovery.py | 61 from googleapiclient.errors import HttpError 542 except HttpError as e: 560 except HttpError as e: 578 except HttpError as e: 1239 self.assertRaises(HttpError, request.execute, http=http) 1259 self.assertRaises(HttpError, request.execute, http=http) 1320 except HttpError as e: 1448 self.assertRaises(HttpError, request.next_chunk, http=http) 1456 except HttpError as e:
|
D | test_protobuf_model.py | 29 from googleapiclient.errors import HttpError
|
/external/grpc-grpc/tools/gcp/utils/ |
D | big_query_utils.py | 22 from apiclient.errors import HttpError 51 except HttpError as http_error: 126 except HttpError as http_error: 158 except HttpError as http_error: 177 except HttpError as http_error: 191 except HttpError as http_error:
|
/external/rust/crates/grpcio-sys/grpc/tools/gcp/utils/ |
D | big_query_utils.py | 24 from apiclient.errors import HttpError 55 except HttpError as http_error: 131 except HttpError as http_error: 162 except HttpError as http_error: 180 except HttpError as http_error: 195 except HttpError as http_error:
|
/external/protobuf/benchmarks/util/ |
D | big_query_utils.py | 10 from apiclient.errors import HttpError 39 except HttpError as http_error: 114 except HttpError as http_error: 146 except HttpError as http_error: 165 except HttpError as http_error: 179 except HttpError as http_error:
|
/external/python/google-api-python-client/googleapiclient/ |
D | errors.py | 35 class HttpError(Error): class 126 class ResumableUploadError(HttpError): 144 class BatchError(HttpError):
|
D | model.py | 34 from googleapiclient.errors import HttpError 222 raise HttpError(resp, content)
|
D | http.py | 62 from googleapiclient.errors import HttpError 740 raise HttpError(resp, content, uri=self._uri) 898 raise HttpError(resp, content, uri=self.uri) 1076 raise HttpError(resp, content, uri=self.uri) 1449 raise HttpError(resp, content, uri=self._batch_uri) 1547 raise HttpError(resp, content, uri=request.uri) 1549 except HttpError as e:
|
/external/python/google-api-python-client/docs/epy/ |
D | api-objects.txt | 160 googleapiclient.errors.HttpError._get_reason googleapiclient.errors.HttpError-class.html#_get_reason 162 googleapiclient.errors.HttpError googleapiclient.errors.HttpError-class.html 163 googleapiclient.errors.HttpError.__str__ googleapiclient.errors.HttpError-class.html#__str__ 164 googleapiclient.errors.HttpError.__repr__ googleapiclient.errors.HttpError-class.html#__repr__ 165 googleapiclient.errors.HttpError.__init__ googleapiclient.errors.HttpError-class.html#__init__ 166 googleapiclient.errors.HttpError._get_reason googleapiclient.errors.HttpError-class.html#_get_reason 172 googleapiclient.errors.HttpError.__str__ googleapiclient.errors.HttpError-class.html#__str__ 173 googleapiclient.errors.HttpError.__repr__ googleapiclient.errors.HttpError-class.html#__repr__ 174 googleapiclient.errors.HttpError.__init__ googleapiclient.errors.HttpError-class.html#__init__ 175 googleapiclient.errors.HttpError._get_reason googleapiclient.errors.HttpError-class.html#_get_reason
|
/external/python/google-api-python-client/samples/analytics/ |
D | hello_analytics_api_v3.py | 50 from googleapiclient.errors import HttpError 74 except HttpError as error:
|
D | core_reporting_v3_reference.py | 66 from googleapiclient.errors import HttpError 92 except HttpError as error:
|
D | management_v3_reference.py | 60 from googleapiclient.errors import HttpError 79 except HttpError as error:
|
/external/autotest/site_utils/ |
D | gmail_lib.py | 127 except apiclient_errors.HttpError as error: 168 if not isinstance(exc, apiclient_errors.HttpError):
|
/external/python/google-api-python-client/docs/ |
D | media.md | 52 …googleapiclient.errors.HttpError`](https://googleapis.github.io/google-api-python-client/docs/epy/… 63 except apiclient.errors.HttpError, e:
|
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/ |
D | run_xds_tests.py | 1588 except googleapiclient.errors.HttpError as http_error: 1662 except googleapiclient.errors.HttpError as http_error: 1679 except googleapiclient.errors.HttpError as http_error: 1689 except googleapiclient.errors.HttpError as http_error: 1699 except googleapiclient.errors.HttpError as http_error: 1715 except googleapiclient.errors.HttpError as http_error: 1725 except googleapiclient.errors.HttpError as http_error: 1741 except googleapiclient.errors.HttpError as http_error: 1752 except googleapiclient.errors.HttpError as http_error: 2022 except googleapiclient.errors.HttpError as http_error: [all …]
|
/external/python/google-api-python-client/samples/api-python-client-doc/ |
D | main.py | 39 from googleapiclient.errors import HttpError
|
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/xds_k8s_test_driver/framework/infrastructure/gcp/ |
D | compute.py | 211 except googleapiclient.errors.HttpError as error: 305 except googleapiclient.errors.HttpError as error:
|
12