Exception: Pocketknife::Error::NodeError
- Inherits:
-
Pocketknife::Error
- Object
- StandardError
- Pocketknife::Error
- Pocketknife::Error::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, RsyncError, UnsupportedInstallationPlatform
Defined Under Namespace
Classes: ExecutionError, NoSuchNode, NotInstalling, RsyncError, UnsupportedInstallationPlatform
Instance Attribute Summary collapse
-
#node ⇒ String
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.
29 30 31 32 |
# File 'lib/pocketknife/errors.rb', line 29 def initialize(, node) self.node = node super() end |
Instance Attribute Details
#node ⇒ String
Returns The name of the node.
23 24 25 |
# File 'lib/pocketknife/errors.rb', line 23 def node @node end |