Exception: Locabulary::Exceptions::ItemNotFoundError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- RuntimeError
- Locabulary::Exceptions::ItemNotFoundError
- Defined in:
- lib/locabulary/exceptions.rb
Overview
There was a problem finding an item
Instance Method Summary collapse
-
#initialize(predicate_name, label) ⇒ ItemNotFoundError
constructor
A new instance of ItemNotFoundError.
Constructor Details
#initialize(predicate_name, label) ⇒ ItemNotFoundError
Returns a new instance of ItemNotFoundError.
9 10 11 |
# File 'lib/locabulary/exceptions.rb', line 9 def initialize(predicate_name, label) super("Unable to find label=#{label.inspect} for predicate_name=#{predicate_name.inspect}") end |