def import(error, override_options = {})
      [:attribute, :type].each do |key|
        if override_options.key?(key)
          override_options[key] = override_options[key].to_sym
        end
      end
      @errors.append(NestedError.new(@base, error, override_options))
    end
def import(error, override_options = {})
      [:attribute, :type].each do |key|
        if override_options.key?(key)
          override_options[key] = override_options[key].to_sym
        end
      end
      @errors.append(NestedError.new(@base, error, override_options))
    end
Imports one error
 Imported errors are wrapped as a NestedError,
 providing access to original error object.
 If attribute or type needs to be overriden, use `override_options`.

 override_options - Hash
 @option override_options [Symbol] :attribute Override the attribute the error belongs to
 @option override_options [Symbol] :type Override type of the error.