OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 class BrowserGoneException(Exception): | 4 class BrowserGoneException(Exception): |
5 """Represents a crash of the entire browser. | 5 """Represents a crash of the entire browser. |
6 | 6 |
7 In this state, all bets are pretty much off.""" | 7 In this state, all bets are pretty much off.""" |
8 pass | 8 pass |
9 | 9 |
10 class BrowserConnectionGoneException(BrowserGoneException): | 10 class BrowserConnectionGoneException(BrowserGoneException): |
11 pass | 11 pass |
| 12 |
| 13 class TabCrashException(Exception): |
| 14 """Represents a crash of the current tab, but not the overall browser. |
| 15 |
| 16 In this state, the tab is gone, but the underlying browser is still alive.""" |
| 17 pass |
| 18 |
| 19 class EvaluateException(Exception): |
| 20 pass |
OLD | NEW |