Exception: ROM::Registry::ElementNotFoundError Private
- Inherits:
-
KeyError
- Object
- KeyError
- ROM::Registry::ElementNotFoundError
- Defined in:
- lib/rom/support/registry.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
-
#initialize(key, name) ⇒ ElementNotFoundError
constructor
private
A new instance of ElementNotFoundError.
Constructor Details
#initialize(key, name) ⇒ ElementNotFoundError
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of ElementNotFoundError.
8 9 10 |
# File 'lib/rom/support/registry.rb', line 8 def initialize(key, name) super("#{key.inspect} doesn't exist in #{name} registry") end |