Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1954)

Unified Diff: appengine/swarming/swarming_bot/bot_code/remote_client_errors.py

Issue 2958413002: Add 'mint_oauth_token' method to RPC client. (Closed)
Patch Set: Add 'mint_oauth_token' method to RPC client. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/swarming/swarming_bot/bot_code/remote_client_errors.py
diff --git a/appengine/swarming/swarming_bot/bot_code/remote_client_errors.py b/appengine/swarming/swarming_bot/bot_code/remote_client_errors.py
index 4dc6944d2a3760ea2f3d28fbe1d60c20e5c2bf4d..f62d62870389a74e00b0758f1736b3b2afb0c9e4 100644
--- a/appengine/swarming/swarming_bot/bot_code/remote_client_errors.py
+++ b/appengine/swarming/swarming_bot/bot_code/remote_client_errors.py
@@ -23,4 +23,8 @@ class InternalError(Exception):
class PollError(Exception):
- """Raised on unrecoverable errors when in RemoteClient.poll."""
+ """Raised on unrecoverable errors in RemoteClient.poll."""
+
+
+class MintOAuthTokenError(Exception):
+ """Raised on unrecoverable errors in RemoteClient.mint_oauth_token."""

Powered by Google App Engine
This is Rietveld 408576698