OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 """PyAuto Errors.""" | 5 """PyAuto Errors.""" |
6 | 6 |
| 7 class JavascriptRuntimeError(RuntimeError): |
| 8 """Represent an error raised by injected Javascript.""" |
| 9 pass |
| 10 |
7 class JSONInterfaceError(RuntimeError): | 11 class JSONInterfaceError(RuntimeError): |
8 """Represent an error in the JSON ipc interface.""" | 12 """Represent an error in the JSON ipc interface.""" |
9 pass | 13 pass |
10 | 14 |
11 class NTPThumbnailNotShownError(RuntimeError): | 15 class NTPThumbnailNotShownError(RuntimeError): |
12 """Represent an error from attempting to manipulate a NTP thumbnail that | 16 """Represent an error from attempting to manipulate a NTP thumbnail that |
13 is not visible to a real user.""" | 17 is not visible to a real user.""" |
14 pass | 18 pass |
OLD | NEW |