class ROM::ElementNotFoundError
Exception raised when an element inside a component registry is not found
Public Class Methods
new(key, registry)
click to toggle source
@api private
Calls superclass method
# File lib/rom/constants.rb, line 47 def initialize(key, registry) super(set_message(key, registry)) end
Public Instance Methods
set_message(key, registry)
click to toggle source
@api private
# File lib/rom/constants.rb, line 52 def set_message(key, registry) "#{key.inspect} doesn't exist in #{registry.type} registry" end