Exception: MundoPepino::NotFoundInDatabase
- Inherits:
-
ResourceNotFound
- Object
- RuntimeError
- ResourceNotFound
- MundoPepino::NotFoundInDatabase
- Defined in:
- lib/mundo_pepino/base.rb
Instance Method Summary collapse
-
#initialize(model, value = '') ⇒ NotFoundInDatabase
constructor
A new instance of NotFoundInDatabase.
Methods inherited from ResourceNotFound
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 |