class Atlantis::RequestError

Attributes

response[R]

Public Class Methods

new(response) click to toggle source
Calls superclass method
# File lib/atlantis/request_error.rb, line 5
def initialize(response)
  @response = response
  msg = "Error processing request: (#{response.status})! #{response.env[:method]} URL: #{response.env[:url]}"
  msg << "\n Resp Body: #{response.body}"
  super msg
end