lib/gitlab/request.rb in gitlab-4.8.0 vs lib/gitlab/request.rb in gitlab-4.9.0
- old
+ new
@@ -56,9 +56,10 @@
when 403 then Error::Forbidden
when 404 then Error::NotFound
when 405 then Error::MethodNotAllowed
when 409 then Error::Conflict
when 422 then Error::Unprocessable
+ when 429 then Error::TooManyRequests
when 500 then Error::InternalServerError
when 502 then Error::BadGateway
when 503 then Error::ServiceUnavailable
end