timcase/echonest

Echowrap::Error::BadGateway
A

No issues here. Congrats!

require 'echowrap/error/server_error'

module Echowrap
  class Error
    # Raised when Echowrap returns the HTTP status code 502
    class BadGateway < Echowrap::Error::ServerError
      HTTP_STATUS_CODE = 502
      MESSAGE = "Echowrap is down or being upgraded."
    end
  end
end

Size

Lines of code
9

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

Tickets on sale now.