Home
last modified time | relevance | path

Searched refs:HttpError (Results 1 – 10 of 10) sorted by relevance

/tools/acloud/internal/lib/
Dbase_cloud_client.py118 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:
Dbase_cloud_client_test.py100 error_1 = errors.HttpError(503, "fake retriable error.")
142 error = errors.HttpError(503, "fake retriable error.")
144 self.assertRaises(errors.HttpError, client.Execute, api_mock)
Dandroid_build_client.py110 except (OSError, apiclient.errors.HttpError) as e:
296 except errors.HttpError as e:
302 raise errors.HttpError(e.code, message=error_msg)
Dandroid_build_client_test.py124 mock_api_request.execute.side_effect = errors.HttpError(503,
127 errors.HttpError,
Dgcompute_client_test.py1443 raise errors.HttpError(412, "resource labels have changed")
1454 error = errors.HttpError(503, "fake retriable error.")
1459 with self.assertRaises(errors.HttpError):
1463 error = errors.HttpError(403, "fake retriable error.")
Dandroid_compute_client.py359 except errors.HttpError as e:
Dgcompute_client.py108 return isinstance(exc, errors.HttpError) and exc.code == 412
1668 except errors.HttpError as e:
Dutils.py575 if (isinstance(exception, errors.HttpError)
/tools/acloud/
Derrors.py39 class HttpError(DriverError): class
60 return HttpError(http_error.resp.status, str(http_error))
63 class ResourceNotFoundError(HttpError):
/tools/treble/fetcher/
Dfetcher_lib.py83 except http_client.errors.HttpError as e: