timcase/echonest

Echowrap::Error::TooManyRequests
A

No issues here. Congrats!

require 'echowrap/error/client_error'

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

Size

Lines of code
10

Join us for Code Climate
Summit on July 19 in NYC.

Tickets on sale now.