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

Side by Side Diff: build/android/pylib/device/device_errors.py

Issue 1141793003: Update from https://crrev.com/329939 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 7 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """ 5 """
6 Exception classes raised by AdbWrapper and DeviceUtils. 6 Exception classes raised by AdbWrapper and DeviceUtils.
7 """ 7 """
8 8
9 from pylib import cmd_helper 9 from pylib import cmd_helper
10 from pylib.utils import base_error 10 from pylib.utils import base_error
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 class DeviceUnreachableError(base_error.BaseError): 79 class DeviceUnreachableError(base_error.BaseError):
80 """Exception for device unreachable failures.""" 80 """Exception for device unreachable failures."""
81 pass 81 pass
82 82
83 83
84 class NoDevicesError(base_error.BaseError): 84 class NoDevicesError(base_error.BaseError):
85 """Exception for having no devices attached.""" 85 """Exception for having no devices attached."""
86 86
87 def __init__(self): 87 def __init__(self):
88 super(NoDevicesError, self).__init__('No devices attached.') 88 super(NoDevicesError, self).__init__(
89 'No devices attached.', is_infra_error=True)
OLDNEW
« no previous file with comments | « build/android/pylib/device/battery_utils_test.py ('k') | build/android/pylib/device/device_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698