Exception: SemanticPuppet::Dependency::UnsatisfiableGraph

Inherits:
StandardError
  • Object
show all
Defined in:
lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/unsatisfiable_graph.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(graph) ⇒ UnsatisfiableGraph

Returns a new instance of UnsatisfiableGraph.



8
9
10
11
12
13
# File 'lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/unsatisfiable_graph.rb', line 8

def initialize(graph)
  @graph = graph

  deps = sentence_from_list(graph.modules)
  super "Could not find satisfying releases for #{deps}"
end

Instance Attribute Details

#graphObject (readonly)

Returns the value of attribute graph.



6
7
8
# File 'lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/unsatisfiable_graph.rb', line 6

def graph
  @graph
end