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.
12 13 14 15 16 17 18 |
# File 'lib/mamiya/storages/s3.rb', line 12 def initialize(errors) = errors.map do |error| "#{error.code}: #{error.message} (key=#{error.key})" end.join(', ') super() @errors = errors end |
Instance Attribute Details
#errors ⇒ Object
Returns the value of attribute errors.
10 11 12 |
# File 'lib/mamiya/storages/s3.rb', line 10 def errors @errors end |