| OLD | NEW |
| (Empty) | |
| 1 # Copyright 2016 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 """Represents possible error codes for what can go wrong during try jobs.""" |
| 6 |
| 7 # An error was detected but the root cause unknown. Cases resulting in this |
| 8 # should be investigated individually and common root causes added to this |
| 9 # module as dedicated error codes. |
| 10 UNKNOWN = 10 |
| 11 # The try job did not finish within the required time and was abandoned. |
| 12 TIMEOUT = 20 |
| 13 # An error was returned directly when making a request buildbucket. |
| 14 BUILDBUCKET_REQUEST_ERROR = 30 |
| 15 # Buildbucket ran the try job and reported an error. |
| 16 CI_REPORTED_ERROR = 40 |
| 17 # An infra failure occurred according to the recipe report. |
| 18 INFRA_FAILURE = 50 |
| OLD | NEW |