Searched refs:HttpError (Results 1 – 12 of 12) sorted by relevance
/tools/acloud/internal/lib/ |
D | base_cloud_client.py | 118 if isinstance(exception, errors.HttpError): 126 list(other_retriable_errors) + [errors.HttpError], 144 if isinstance(exception, gerrors.HttpError): 145 exception = errors.HttpError.CreateFromHttpError(exception) 166 except gerrors.HttpError as e:
|
D | base_cloud_client_test.py | 101 error_1 = errors.HttpError(503, "fake retriable error.") 143 error = errors.HttpError(503, "fake retriable error.") 145 self.assertRaises(errors.HttpError, client.Execute, api_mock)
|
D | android_build_client.py | 116 except (OSError, apiclient.errors.HttpError) as e: 357 except errors.HttpError as e: 363 raise errors.HttpError(e.code, message=error_msg)
|
D | android_build_client_test.py | 124 mock_api_request.execute.side_effect = errors.HttpError(503, 127 errors.HttpError,
|
D | gcompute_client_test.py | 1439 raise errors.HttpError(412, "resource labels have changed") 1450 error = errors.HttpError(503, "fake retriable error.") 1455 with self.assertRaises(errors.HttpError): 1459 error = errors.HttpError(403, "fake retriable error.")
|
D | android_compute_client.py | 359 except errors.HttpError as e:
|
D | gcompute_client.py | 106 return isinstance(exc, errors.HttpError) and exc.code == 412 1684 except errors.HttpError as e:
|
D | utils.py | 592 if (isinstance(exception, errors.HttpError)
|
/tools/acloud/ |
D | errors.py | 39 class HttpError(DriverError): class 60 return HttpError(http_error.resp.status, str(http_error)) 63 class ResourceNotFoundError(HttpError):
|
/tools/treble/fetcher/ |
D | fetcher_lib.py | 18 from googleapiclient.errors import HttpError 83 except HttpError as e:
|
/tools/asuite/atest/logstorage/ |
D | log_uploader.py | 192 except errors.HttpError as e:
|
/tools/asuite/atest/test_runners/ |
D | mobly_test_runner.py | 305 except errors.HttpError as e:
|