class Fieldhand::ResponseError
Custom exception to handle unexpected HTTP responses
Attributes
response[R]
Public Class Methods
new(response)
click to toggle source
Calls superclass method
# File lib/fieldhand/network_errors.rb, line 10 def initialize(response) super("Invalid response: #{response.code} #{response.msg}") @response = response end