Exception: OFlow::NotFoundError

Inherits:
Exception
  • Object
show all
Defined in:
lib/oflow/errors.rb

Overview

An Exception indicating an item was not found.

Instance Method Summary collapse

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