Sha256: 1bd560a94cfe3955fc696265933de793ff24ea7e5f521f802564f24d7391cc89

Contents?: true

Size: 275 Bytes

Versions: 5

Compression:

Stored size: 275 Bytes

Contents

require 'twitter/error'

module Twitter
  class Error
    # Raised when Twitter returns the HTTP status code 429
    class TooManyRequests < Twitter::Error
      HTTP_STATUS_CODE = 429
    end
    EnhanceYourCalm = TooManyRequests
    RateLimited = TooManyRequests
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
twitter-5.1.1 lib/twitter/error/too_many_requests.rb
twitter-5.1.0 lib/twitter/error/too_many_requests.rb
twitter-5.0.1 lib/twitter/error/too_many_requests.rb
twitter-5.0.0 lib/twitter/error/too_many_requests.rb
twitter-5.0.0.rc.1 lib/twitter/error/too_many_requests.rb