Exception: WaffleAPI::Error::AddressNotFound

Inherits:
Standard
  • Object
show all
Defined in:
lib/waffle_api/errors.rb

Overview

Error raised when Waffle change his API endpoint. Nothing to do but report an issue on this gem repo

Instance Method Summary collapse

Constructor Details

#initialize(address = '') ⇒ AddressNotFound

Returns a new instance of AddressNotFound.



55
56
57
# File 'lib/waffle_api/errors.rb', line 55

def initialize(address = '')
  super message address
end

Instance Method Details

#message(address = '') ⇒ Object



59
60
61
# File 'lib/waffle_api/errors.rb', line 59

def message(address = '')
  "The address #{address} was not found on Wafflepool. Please check it."
end