Exception: Inferno::Exceptions::ParentNotLoadedException

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

Instance Method Summary collapse

Constructor Details

#initialize(klass, id) ⇒ ParentNotLoadedException

Returns a new instance of ParentNotLoadedException.



56
57
58
# File 'lib/inferno/exceptions.rb', line 56

def initialize(klass, id)
  super("No #{klass.name.demodulize} found with id '#{id}'")
end