Index: scripts/slave/recipe_modules/auto_bisect_staging/bisect_exceptions.py |
diff --git a/scripts/slave/recipe_modules/auto_bisect_staging/bisect_exceptions.py b/scripts/slave/recipe_modules/auto_bisect_staging/bisect_exceptions.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..546474334cc05af9f96496d3abc8c89275b1afb0 |
--- /dev/null |
+++ b/scripts/slave/recipe_modules/auto_bisect_staging/bisect_exceptions.py |
@@ -0,0 +1,16 @@ |
+# Copyright 2016 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. |
+ |
+"""Custom exceptions for bisect.""" |
+ |
+class BisectException(Exception): |
+ pass |
+ |
+class InconclusiveBisectException(BisectException): |
+ """To be raised when a bisect cannot identify a culprit""" |
+ pass |
+ |
+class UntestableRevisionException(BisectException): |
+ """When a specific revision cannot be built or tested.""" |
+ pass |