Exception: Ambry::NotFoundError
- Inherits:
-
AmbryError
- Object
- StandardError
- AmbryError
- Ambry::NotFoundError
- Defined in:
- lib/ambry.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.
60 61 62 |
# File 'lib/ambry.rb', line 60 def initialize(*args) super('Could not find %s with key "%s"' % args) end |