summaryrefslogtreecommitdiffstats
path: root/chrome/test/pyautolib/pyauto_errors.py
blob: 86a56f0edecf80d356ff08ee98bf71f2570298d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/python

# Copyright (c) 2010 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

"""PyAuto Errors."""

class JSONInterfaceError(RuntimeError):
  """Represent an error in the JSON ipc interface."""
  pass

class NTPThumbnailNotShownError(RuntimeError):
  """Represent an error from attempting to manipulate a NTP thumbnail that
  is not visible to a real user."""
  pass