Exception: ExchangeRatesAPI::ServerError

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) ⇒ ServerError

Returns a new instance of ServerError.



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

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