Exception: ObjectStorage::MigrateUploadsWorker::Report::MigrationFailures
- Inherits:
-
StandardError
- Object
- StandardError
- ObjectStorage::MigrateUploadsWorker::Report::MigrationFailures
- Defined in:
- app/workers/object_storage/migrate_uploads_worker.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ MigrationFailures
constructor
A new instance of MigrationFailures.
- #message ⇒ Object
Constructor Details
#initialize(errors) ⇒ MigrationFailures
Returns a new instance of MigrationFailures.
40 41 42 |
# File 'app/workers/object_storage/migrate_uploads_worker.rb', line 40 def initialize(errors) @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
38 39 40 |
# File 'app/workers/object_storage/migrate_uploads_worker.rb', line 38 def errors @errors end |
Instance Method Details
#message ⇒ Object
44 45 46 |
# File 'app/workers/object_storage/migrate_uploads_worker.rb', line 44 def errors.map(&:message).join("\n") end |