exceptions.py revision 90dce4d38c5ff5333bea97d859d4e484e27edf0c
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
3# found in the LICENSE file.
4class BrowserGoneException(Exception):
5  """Represents a crash of the entire browser.
6
7  In this state, all bets are pretty much off."""
8  pass
9
10class BrowserConnectionGoneException(BrowserGoneException):
11  pass
12
13class 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
19class LoginException(Exception):
20  pass
21
22class EvaluateException(Exception):
23  pass
24