Exception: Hyrax::Ingest::Errors::FileNotFoundInSIP
- Inherits:
-
Hyrax::Ingest::Error
- Object
- StandardError
- Hyrax::Ingest::Error
- Hyrax::Ingest::Errors::FileNotFoundInSIP
- Defined in:
- lib/hyrax/ingest/errors.rb
Instance Method Summary collapse
-
#initialize(sip_path, string_or_regexp) ⇒ FileNotFoundInSIP
constructor
A new instance of FileNotFoundInSIP.
Constructor Details
#initialize(sip_path, string_or_regexp) ⇒ FileNotFoundInSIP
Returns a new instance of FileNotFoundInSIP.
39 40 41 |
# File 'lib/hyrax/ingest/errors.rb', line 39 def initialize(sip_path, string_or_regexp) super("No file matching #{string_or_regexp.inspect.to_s} was found in the SIP at path '#{sip_path}'") end |