Exception: Pocketknife::NodeError
- Inherits:
-
StandardError
- Object
- StandardError
- Pocketknife::NodeError
- Defined in:
- lib/pocketknife/errors.rb
Overview
NodeError
An error with a Node. This is meant to be subclassed by a more specific error.
Direct Known Subclasses
ExecutionError, NoSuchNode, NotInstalling, UnsupportedInstallationPlatform
Instance Attribute Summary collapse
-
#node ⇒ Object
The name of the node.
Instance Method Summary collapse
-
#initialize(message, node) ⇒ NodeError
constructor
Instantiate a new exception.
Constructor Details
#initialize(message, node) ⇒ NodeError
Instantiate a new exception.
13 14 15 16 |
# File 'lib/pocketknife/errors.rb', line 13 def initialize(, node) self.node = node super() end |
Instance Attribute Details
#node ⇒ Object
The name of the node.
7 8 9 |
# File 'lib/pocketknife/errors.rb', line 7 def node @node end |