class Berkshelf::NoSolutionError

def initialize(demands, original_exception)

Parameters:
  • demands (Array) --
def initialize(demands, original_exception)
  @demands = demands
  @original_exception = original_exception
end

def to_s

def to_s
  @original_exception.to_s +
    "Unable to find a solution for demands: #{demands.join(", ")}"
end