OLD | NEW |
1 #!/usr/bin/python | 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 | |
3 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | |
4 # 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 |
5 # found in the LICENSE file. | 3 # found in the LICENSE file. |
6 | 4 |
7 """PyAuto Errors.""" | 5 """PyAuto Errors.""" |
8 | 6 |
9 class JSONInterfaceError(RuntimeError): | 7 class JSONInterfaceError(RuntimeError): |
10 """Represent an error in the JSON ipc interface.""" | 8 """Represent an error in the JSON ipc interface.""" |
11 pass | 9 pass |
12 | 10 |
13 class NTPThumbnailNotShownError(RuntimeError): | 11 class NTPThumbnailNotShownError(RuntimeError): |
14 """Represent an error from attempting to manipulate a NTP thumbnail that | 12 """Represent an error from attempting to manipulate a NTP thumbnail that |
15 is not visible to a real user.""" | 13 is not visible to a real user.""" |
16 pass | 14 pass |
OLD | NEW |