Exception: OFlow::NotFoundError
- Inherits:
-
Exception
- Object
- Exception
- OFlow::NotFoundError
- Defined in:
- lib/oflow/errors.rb
Overview
An Exception indicating an item was not found.
Instance Method Summary collapse
-
#initialize(name, type, id) ⇒ NotFoundError
constructor
A new instance of NotFoundError.
Constructor Details
#initialize(name, type, id) ⇒ NotFoundError
Returns a new instance of NotFoundError.
49 50 51 |
# File 'lib/oflow/errors.rb', line 49 def initialize(name, type, id) super("The #{type} identified as '#{id}' was not found in #{name}.") end |