Exception: Hyrax::Ingest::Errors::InvalidSIP

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

Instance Method Summary collapse

Constructor Details

#initialize(invalid_sip_obj) ⇒ InvalidSIP

Returns a new instance of InvalidSIP.



27
28
29
# File 'lib/hyrax/ingest/errors.rb', line 27

def initialize(invalid_sip_obj)
  super("Invalid SIP object. SIP must be an instance of Hyrax::Ingest::SIP (or an instance of a subclass) but an instance of #{invalid_sip_obj.class} was found.")
end