class Pocketknife::Error::NodeError
NodeError
¶ ↑
An error with a {Pocketknife::Node}. This is meant to be subclassed by a more specific error.
Attributes
node[RW]
@return [String] The name of the node.
Private Class Methods
new(message, node)
click to toggle source
Instantiate a new exception.
@param [String] message The message to display. @param [String] node The name of the unknown node.
Calls superclass method
# File lib/pocketknife/errors.rb, line 29 def initialize(message, node) self.node = node super(message) end