@return [Hash] Returns a hash of error codes and how many
objects failed with that code.
# File lib/aws/s3/errors.rb, line 36 def initialize error_counts @error_counts = error_counts total = error_counts.values.inject(0) {|sum,count| sum + count } super("Failed to delete #{total} objects") end