class Aws::Plugins::SQSMd5s::Handler

def mismatch_error_message(section, local_md5, returned_md5, response)

def mismatch_error_message(section, local_md5, returned_md5, response)
  m = "MD5 returned by SQS does not match " <<
  "the calculation on the original request. ("
  if response.respond_to?(:id) && !response.id.nil?
    m << "Message ID: #{response.id}, "
  end
  m << "MD5 calculated by the #{section}: " <<
  "'#{local_md5}', MD5 checksum returned: '#{returned_md5}')"
end