Exception: MundoPepino::NotFoundInDatabase

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

Instance Method Summary collapse

Methods inherited from ResourceNotFound

#message

Constructor Details

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

Returns a new instance of NotFoundInDatabase.



19
20
21
# File 'lib/mundo_pepino/base.rb', line 19

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