Exception: Inferno::Exceptions::ParentNotLoadedException
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Inferno::Exceptions::ParentNotLoadedException
- Defined in:
- lib/inferno/exceptions.rb
Instance Method Summary collapse
-
#initialize(klass, id) ⇒ ParentNotLoadedException
constructor
A new instance of ParentNotLoadedException.
Constructor Details
#initialize(klass, id) ⇒ ParentNotLoadedException
Returns a new instance of ParentNotLoadedException.
43 44 45 |
# File 'lib/inferno/exceptions.rb', line 43 def initialize(klass, id) super("No #{klass.name.demodulize} found with id '#{id}'") end |