lib/solve/errors.rb
# Artifacts that don't exist at any version but are required for a valid
# solution
# @return [Array<String>] Missing artifact names
Artifacts that don't exist at any version but are required for a valid
solution
Artifacts that don ' t exist at any version but are required for a valid solution
def to_s
        s = ""
        s << "#{@message}\n"
        s << "Missing artifacts: #{missing_artifacts.join(",")}\n" unless missing_artifacts.empty?
        unless constraints_excluding_all_artifacts.empty?
          pretty = constraints_excluding_all_artifacts.map { |constraint| "(#{constraint[0]} #{constraint[1]})" }.join(",")
          s << "Constraints that match no available version: #{pretty}\n"
        end
        s << "Demand that cannot be met: #{unsatisfiable_demand}\n" if unsatisfiable_demand
        unless artifacts_with_no_satisfactory_version.empty?
          s << "Artifacts for which there are conflicting dependencies: #{artifacts_with_no_satisfactory_version.join(",")}"
        end
        s
      end
def to_s s = "" s << "#{@message}\n" s << "Missing artifacts: #{missing_artifacts.join(",")}\n" unless missing_artifacts . empty? unless constraints_excluding_all_artifacts . empty? pretty = constraints_excluding_all_artifacts . map { | constraint | "(#{constraint[0]} #{constraint[1]})" } . join ( "," ) s << "Constraints that match no available version: #{pretty}\n" end s << "Demand that cannot be met: #{unsatisfiable_demand}\n" if unsatisfiable_demand unless artifacts_with_no_satisfactory_version . empty? s << "Artifacts for which there are conflicting dependencies: #{artifacts_with_no_satisfactory_version.join(",")}" end s end
Artifacts that don't exist at any version but are required for a valid
solution
Artifacts that don ' t exist at any version but are required for a valid solution
Missing artifact names
Missing artifact names
Array<String>