Exception: Hyrax::Ingest::Errors::AmbiguousIngesterClass

Inherits:
Hyrax::Ingest::Error show all
Defined in:
lib/hyrax/ingest/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(class_name, matching_classes) ⇒ AmbiguousIngesterClass

Returns a new instance of AmbiguousIngesterClass.



87
88
89
# File 'lib/hyrax/ingest/errors.rb', line 87

def initialize(class_name, matching_classes)
  super("Ingester class name '#{class_name}' is ambiguous; could mean any one of the following classes: #{Array(matching_classes).join(',')}. Please use namespaces in the class name to be more specific.")
end