Skip to content

Commit

Permalink
[split] Move API error codes out of the monorail.
Browse files Browse the repository at this point in the history
RB_ID=369980
  • Loading branch information
Alex Leong authored and CI committed Jun 12, 2014
1 parent 64c5bf7 commit d591211
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@ object Status {
val UnsupportedMediaType = HttpResponseStatus.UNSUPPORTED_MEDIA_TYPE
val RequestedRangeNotSatisfiable = HttpResponseStatus.REQUESTED_RANGE_NOT_SATISFIABLE
val ExpectationFailed = HttpResponseStatus.EXPECTATION_FAILED
val EnhanceYourCalm = HttpResponseStatus.valueOf(420)
val UnprocessableEntity = HttpResponseStatus.UNPROCESSABLE_ENTITY
val Locked = HttpResponseStatus.LOCKED
val FailedDependency = HttpResponseStatus.FAILED_DEPENDENCY
val UnorderedCollection = HttpResponseStatus.UNORDERED_COLLECTION
val UpgradeRequired = HttpResponseStatus.UPGRADE_REQUIRED
val TooManyRequests = HttpResponseStatus.valueOf(429)
val InternalServerError = HttpResponseStatus.INTERNAL_SERVER_ERROR
val NotImplemented = HttpResponseStatus.NOT_IMPLEMENTED
val BadGateway = HttpResponseStatus.BAD_GATEWAY
Expand Down

0 comments on commit d591211

Please sign in to comment.