Exception: Hyrax::Ingest::Errors::InvalidSIP
- Inherits:
-
Hyrax::Ingest::Error
- Object
- StandardError
- Hyrax::Ingest::Error
- Hyrax::Ingest::Errors::InvalidSIP
- Defined in:
- lib/hyrax/ingest/errors.rb
Instance Method Summary collapse
-
#initialize(invalid_sip_obj) ⇒ InvalidSIP
constructor
A new instance of InvalidSIP.
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 |