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

Unified Diff: tools/telemetry/telemetry/core/exceptions.py

Issue 952693003: Telemetry: Move TimeoutException from util module to exceptions module. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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: tools/telemetry/telemetry/core/exceptions.py
diff --git a/tools/telemetry/telemetry/core/exceptions.py b/tools/telemetry/telemetry/core/exceptions.py
index 1181bce6b47d9c0bf15b2cfe63dc4e5aaccdf1dd..51b91a4068817a85a302f4ba8efaf2b6f493cc29 100644
--- a/tools/telemetry/telemetry/core/exceptions.py
+++ b/tools/telemetry/telemetry/core/exceptions.py
@@ -7,6 +7,10 @@ class PlatformError(Exception):
""" Represents an exception thrown when constructing platform. """
+class TimeoutException(Exception):
+ pass
+
+
class AppCrashException(Exception):
def __init__(self, app=None, msg=''):
super(AppCrashException, self).__init__(msg)

Powered by Google App Engine
This is Rietveld 408576698