Exception: DerivativeRodeo::Errors::StorageLocationMissing
- Defined in:
- lib/derivative_rodeo/errors.rb
Overview
Raised when a file uri is passed in that does not contain a storage adapter part before the ://
Instance Method Summary collapse
-
#initialize(file_uri: '') ⇒ StorageLocationMissing
constructor
A new instance of StorageLocationMissing.
Constructor Details
#initialize(file_uri: '') ⇒ StorageLocationMissing
Returns a new instance of StorageLocationMissing.
14 15 16 |
# File 'lib/derivative_rodeo/errors.rb', line 14 def initialize(file_uri: '') super("#{file_uri} does not contain an adapter. Should look like file:///my_dir/myfile or s3://bucket_name/location/file_name. The part before the :// is used to select the storage adapter.") # rubocop:disable Layout/LineLength end |