Sha256: 6c1bb57283f15097e635292106270959ab24d73656a8631560c741a57dc83107
Contents?: true
Size: 699 Bytes
Versions: 12
Compression:
Stored size: 699 Bytes
Contents
module SmartIoC::Errors class BeanNotFound < StandardError def initialize(bean_name) super("Unable to find bean :#{bean_name} in any packages") end end class LoadRecursion < StandardError def initialize(bean_definition) super(%Q( Unable to create bean :#{bean_definitions.name}. Recursion found during bean load. #{bean_definition.inspect} )) end end class AmbiguousBeanDefinition < StandardError def initialize(bean_name, bean_definitions) super(%Q( Unable to create bean :#{bean_name}. Several definitions were found. #{bean_definitions.map(&:inspect).join("\n\n")} )) end end end
Version data entries
12 entries across 12 versions & 1 rubygems