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.



46
47
48
# File 'lib/waffle_api/errors.rb', line 46

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

Instance Method Details

#message(address = '') ⇒ Object



50
51
52
# File 'lib/waffle_api/errors.rb', line 50

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