Sha256: aee99cbce70cb637d2e5ddb1da6cae78c90590bc6f8e8265504276b3b10cf617

Contents?: true

Size: 259 Bytes

Versions: 1

Compression:

Stored size: 259 Bytes

Contents

require 'pub_grub/failure_writer'

module PubGrub
  class SolveFailure < StandardError
    def initialize(incompatibility)
      @incompatibility = incompatibility
    end

    def to_s
      "\n" + FailureWriter.new(@incompatibility).write
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pub_grub-0.1.0 lib/pub_grub/solve_failure.rb