# File lib/hammer_cli_import/base.rb, line 357 def process_error(err, entity_hash) uniq = nil err['errors'].each do |arr| next unless recognizable_error(arr) uniq = find_uniq(arr) break if uniq && entity_hash.key?(uniq.to_sym) uniq = nil # otherwise uniq is not usable end return uniq end