Exception: Findable::ModelNotFound
- Inherits:
-
FindableError
- Object
- StandardError
- FindableError
- Findable::ModelNotFound
- Defined in:
- lib/findable/errors.rb
Instance Method Summary collapse
-
#initialize(model_name) ⇒ ModelNotFound
constructor
A new instance of ModelNotFound.
Constructor Details
#initialize(model_name) ⇒ ModelNotFound
Returns a new instance of ModelNotFound.
6 7 8 |
# File 'lib/findable/errors.rb', line 6 def initialize(model_name) super("#{model_name} not found!") end |