Exception: BulkArchivalObjectUpdater::BulkUpdateFailed

Inherits:
StandardError
  • Object
show all
Defined in:
backend/app/lib/bulk_archival_object_updater.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(errors) ⇒ BulkUpdateFailed

Returns a new instance of BulkUpdateFailed.



1314
1315
1316
# File 'backend/app/lib/bulk_archival_object_updater.rb', line 1314

def initialize(errors)
  @errors = errors
end

Instance Attribute Details

#errorsObject (readonly)

Returns the value of attribute errors



1312
1313
1314
# File 'backend/app/lib/bulk_archival_object_updater.rb', line 1312

def errors
  @errors
end

Instance Method Details

#to_jsonObject



1318
1319
1320
# File 'backend/app/lib/bulk_archival_object_updater.rb', line 1318

def to_json
  @errors
end