Sha256: d26626c6a06be60b8171f48ef6ed740ae29e69e7a5ec4d4824d056ed964ce95f

Contents?: true

Size: 301 Bytes

Versions: 4

Compression:

Stored size: 301 Bytes

Contents

require 'wayback/error/client_error'

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wayback-0.3.1 lib/wayback/error/too_many_requests.rb
wayback-0.2.1 lib/wayback/error/too_many_requests.rb
wayback-0.2.0 lib/wayback/error/too_many_requests.rb
wayback-0.1.0 lib/wayback/error/too_many_requests.rb