Exception: SmartIoC::Errors::LoadRecursion

Inherits:
StandardError
  • Object
show all
Defined in:
lib/smart_ioc/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(bean_definition) ⇒ LoadRecursion



9
10
11
12
13
14
15
# File 'lib/smart_ioc/errors.rb', line 9

def initialize(bean_definition)
  super(%Q(
    Unable to create bean :#{bean_definitions.name}.
    Recursion found during bean load.
    #{bean_definition.inspect}
  ))
end