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.
56 57 58 |
# File 'lib/inferno/exceptions.rb', line 56 def initialize(klass, id) super("No #{klass.name.demodulize} found with id '#{id}'") end |