class RestClient::Exception
def initialize response = nil
def initialize response = nil @response = response # compatibility: this make the exception behave like a Net::HTTPResponse response.extend ResponseForException if response end
def initialize response = nil @response = response # compatibility: this make the exception behave like a Net::HTTPResponse response.extend ResponseForException if response end