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