summaryrefslogtreecommitdiff
path: root/lib/bundler/resolver/incompatibility.rb
blob: c61151fbeb0804778a0f02bfddefcf249c1d66e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module Bundler
  class Resolver
    class Incompatibility < PubGrub::Incompatibility
      attr_reader :extended_explanation

      def initialize(terms, cause:, custom_explanation: nil, extended_explanation: nil)
        @extended_explanation = extended_explanation

        super(terms, :cause => cause, :custom_explanation => custom_explanation)
      end
    end
  end
end