class Artifactory::Error::HTTPError

Class for all HTTP errors

def initialize(hash = {})

def initialize(hash = {})
  @code = hash["status"].to_i
  @http = hash["message"].to_s
  super "The Artifactory server responded with an HTTP Error " \
        "#{@code}: `#{@http}'"
end