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

Unified Diff: bin/au_test_harness/update_exception.py

Issue 6597122: Refactor au_test_harness into modules and refactor to use worker design. (Closed) Base URL: http://git.chromium.org/git/crosutils.git@master
Patch Set: 80 char Created 9 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: bin/au_test_harness/update_exception.py
diff --git a/bin/au_test_harness/update_exception.py b/bin/au_test_harness/update_exception.py
new file mode 100644
index 0000000000000000000000000000000000000000..4c1e73ec64641a23a6bc3d63e99a3d74794615dc
--- /dev/null
+++ b/bin/au_test_harness/update_exception.py
@@ -0,0 +1,11 @@
+# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+"""Module containing update exceptions."""
+
+class UpdateException(Exception):
+ """Exception thrown when _UpdateImage or _UpdateUsingPayload fail"""
+ def __init__(self, code, stdout):
+ self.code = code
+ self.stdout = stdout

Powered by Google App Engine
This is Rietveld 408576698