• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2016 The Chromium Authors
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 TestException(Exception):
7  """Base class for exceptions thrown by the test runner."""
8
9
10class InvalidShardingSettings(TestException):
11  def __init__(self, shard_index, total_shards):
12    super().__init__(
13        'Invalid sharding settings. shard_index: %d total_shards: %d' %
14        (shard_index, total_shards))
15