| Index: appengine/findit/model/try_job_error.py
|
| diff --git a/appengine/findit/waterfall/try_job_type.py b/appengine/findit/model/try_job_error.py
|
| similarity index 50%
|
| copy from appengine/findit/waterfall/try_job_type.py
|
| copy to appengine/findit/model/try_job_error.py
|
| index 6da35e2f2fe910e29e4e96adb766ec56787df0db..f9dca5874b09cfce1d6935077ff5b9845bc0e981 100644
|
| --- a/appengine/findit/waterfall/try_job_type.py
|
| +++ b/appengine/findit/model/try_job_error.py
|
| @@ -2,7 +2,9 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -
|
| -class TryJobType(object):
|
| - COMPILE = 'compile'
|
| - TEST = 'test'
|
| +# Represents possible error codes for what can go wrong during try jobs.
|
| +UNKNOWN = 10
|
| +TIMEOUT = 20
|
| +BUILDBUCKET_ERROR = 30
|
| +TRYBOT_NOT_FOUND = 40
|
| +INFRA_FAILURE = 50
|
|
|