Exception: Hyrax::Ingest::Errors::AmbiguousAssignerClass
- Inherits:
-
Hyrax::Ingest::Error
- Object
- StandardError
- Hyrax::Ingest::Error
- Hyrax::Ingest::Errors::AmbiguousAssignerClass
- Defined in:
- lib/hyrax/ingest/errors.rb
Instance Method Summary collapse
-
#initialize(class_name, matching_classes) ⇒ AmbiguousAssignerClass
constructor
A new instance of AmbiguousAssignerClass.
Constructor Details
#initialize(class_name, matching_classes) ⇒ AmbiguousAssignerClass
Returns a new instance of AmbiguousAssignerClass.
51 52 53 |
# File 'lib/hyrax/ingest/errors.rb', line 51 def initialize(class_name, matching_classes) super("Assigner 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 |