Exception: MundoPepino::NotFoundInHistoryNorDatabase

Inherits:
ResourceNotFound
  • Object
show all
Defined in:
lib/mundo_pepino/base.rb

Instance Method Summary collapse

Methods inherited from ResourceNotFound

#message

Constructor Details

#initialize(model, value = '') ⇒ NotFoundInHistoryNorDatabase

Returns a new instance of NotFoundInHistoryNorDatabase.



25
26
27
# File 'lib/mundo_pepino/base.rb', line 25

def initialize(model, value='')
  super "#{model} called #{value||'nil'} not found in history nor database"
end