Sha256: 8e22c86937f67eaf210f7bdcdc19bc40d87b708f71ff9634ffc2c59f3f3fec1c

Contents?: true

Size: 337 Bytes

Versions: 8

Compression:

Stored size: 337 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 # rubocop:disable ConstantName
    RateLimited = TooManyRequests # rubocop:disable ConstantName
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
twitter-5.6.0 lib/twitter/error/too_many_requests.rb
twitter-5.5.1 lib/twitter/error/too_many_requests.rb
twitter-5.5.0 lib/twitter/error/too_many_requests.rb
twitter-5.4.1 lib/twitter/error/too_many_requests.rb
twitter-5.4.0 lib/twitter/error/too_many_requests.rb
twitter-5.3.1 lib/twitter/error/too_many_requests.rb
twitter-5.3.0 lib/twitter/error/too_many_requests.rb
twitter-5.2.0 lib/twitter/error/too_many_requests.rb