summaryrefslogtreecommitdiff
path: root/lib/bundler/resolver/incompatibility.rb
blob: 4ac1b2e1eafd9558f0b50f4dba5e6dd24916514c (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