Exception: Isomorfeus::Puppetmaster::NodeError

Inherits:
ClientError show all
Defined in:
lib/isomorfeus/puppetmaster/errors.rb

Direct Known Subclasses

ObsoleteNode

Instance Attribute Summary collapse

Attributes inherited from ClientError

#response

Instance Method Summary collapse

Constructor Details

#initialize(node, response) ⇒ NodeError

Returns a new instance of NodeError.



74
75
76
77
# File 'lib/isomorfeus/puppetmaster/errors.rb', line 74

def initialize(node, response)
  @node = node
  super(response)
end

Instance Attribute Details

#nodeObject (readonly)

Returns the value of attribute node.



72
73
74
# File 'lib/isomorfeus/puppetmaster/errors.rb', line 72

def node
  @node
end