• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2017 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.
4
5
6class UnknownMessageTypeError(ValueError):
7    """Indicates that a message with an unrecoganized type was received."""
8
9
10class WorkerTimeoutError(RuntimeError):
11    """Indicates that a factory worker timed out."""
12    def __init__(self):
13        super(WorkerTimeoutError, self).__init__('worker timed out')
14