Index: build/android/pylib/device/device_errors.py |
diff --git a/build/android/pylib/device/device_errors.py b/build/android/pylib/device/device_errors.py |
index 26d9eaf48b71c4c48a7b3cfa48a436b98fc70f07..66a226ca5206e590c66732192b03ce4af8a95368 100644 |
--- a/build/android/pylib/device/device_errors.py |
+++ b/build/android/pylib/device/device_errors.py |
@@ -42,6 +42,13 @@ class AdbCommandFailedError(CommandFailedError): |
super(AdbCommandFailedError, self).__init__(message, device_serial) |
+class DeviceVersionError(CommandFailedError): |
+ """Exception for device version failures.""" |
+ |
+ def __init__(self, message, device_serial=None): |
+ super(DeviceVersionError, self).__init__(message, device_serial) |
+ |
+ |
class AdbShellCommandFailedError(AdbCommandFailedError): |
"""Exception for shell command failures run via adb.""" |