Exception: Norman::NotFoundError
- Inherits:
-
NormanError
- Object
- StandardError
- NormanError
- Norman::NotFoundError
- Defined in:
- lib/norman.rb
Overview
Raised when a single instance is expected but could not be found.
Instance Method Summary collapse
-
#initialize(*args) ⇒ NotFoundError
constructor
A new instance of NotFoundError.
Constructor Details
#initialize(*args) ⇒ NotFoundError
Returns a new instance of NotFoundError.
50 51 52 |
# File 'lib/norman.rb', line 50 def initialize(*args) super('Could not find %s with key "%s"' % args) end |