Exception: Locabulary::Exceptions::ItemNotFoundError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/locabulary/exceptions.rb

Overview

There was a problem finding an item

Instance Method Summary collapse

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