Exception: ECB::Exchange::ResponseError

Inherits:
Error
  • Object
show all
Defined in:
lib/ecb/exchange/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(url, error_details) ⇒ ResponseError

Returns a new instance of ResponseError.



20
21
22
# File 'lib/ecb/exchange/errors.rb', line 20

def initialize(url, error_details)
  super("fetching '#{url}' failed - #{error_details}")
end