Exception: ExchangeRatesAPI::RequestError

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

Instance Attribute Summary

Attributes inherited from Error

#error_response

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, error_response: nil) ⇒ RequestError

Returns a new instance of RequestError.



14
15
16
# File 'lib/exchangeratesapi/errors.rb', line 14

def initialize(message = nil, error_response: nil)
  super(message, error_response: error_response)
end