Implement nacl_irt_memory for non-sfi mode.
[chromium-blink-merge.git] / chrome / test / pyautolib / pyauto_errors.py
blob5b56aa9b64fc3d789f8564c00d2f1c6d50dffb75
1 # Copyright (c) 2012 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.
5 """PyAuto Errors."""
7 class JavascriptRuntimeError(RuntimeError):
8 """Represent an error raised by injected Javascript."""
9 pass
12 class JSONInterfaceError(RuntimeError):
13 """Represent an error in the JSON IPC interface."""
14 pass
17 class AutomationCommandFail(JSONInterfaceError):
18 """Represent an automation command failure.
20 These failures are passed back from the Chrome side of the IPC.
21 """
22 pass
25 class AutomationCommandTimeout(JSONInterfaceError):
26 """Represent an automation command failure due to timeout."""
27 pass
30 class NTPThumbnailNotShownError(RuntimeError):
31 """Represent an error while attempting to manipulate a NTP thumbnail.
33 This is due to it not being visible to a real user.
34 """
35 pass