timcase/echonest

View on GitHub
lib/echowrap/error/bad_gateway.rb

Summary

Maintainability
A
0 mins
Test Coverage
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