Exception: Mamiya::Storages::S3::MultipleObjectsDeletionError
- Inherits:
-
StandardError
- Object
- StandardError
- Mamiya::Storages::S3::MultipleObjectsDeletionError
- Defined in:
- lib/mamiya/storages/s3.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ MultipleObjectsDeletionError
constructor
A new instance of MultipleObjectsDeletionError.
Constructor Details
#initialize(errors) ⇒ MultipleObjectsDeletionError
Returns a new instance of MultipleObjectsDeletionError.
13 14 15 16 17 18 19 |
# File 'lib/mamiya/storages/s3.rb', line 13 def initialize(errors) = errors.map do |error| "#{error.code}: #{error.} (key=#{error.key})" end.join(', ') super() @errors = errors end |
Instance Attribute Details
#errors ⇒ Object
Returns the value of attribute errors.
11 12 13 |
# File 'lib/mamiya/storages/s3.rb', line 11 def errors @errors end |