Exception: Bolt::Node::BaseError
- Defined in:
- lib/bolt/node/errors.rb
Direct Known Subclasses
ConnectError, EnvironmentVarError, EscalateError, FileError, RemoteError
Instance Attribute Summary collapse
-
#issue_code ⇒ Object
readonly
Returns the value of attribute issue_code.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message, issue_code = nil) ⇒ BaseError
constructor
TODO: can we just drop issue code here?.
- #kind ⇒ Object
Methods inherited from Error
#msg, #to_h, #to_json, #to_puppet_error, unknown_plan, unknown_task
Constructor Details
#initialize(message, issue_code = nil) ⇒ BaseError
TODO: can we just drop issue code here?
11 12 13 |
# File 'lib/bolt/node/errors.rb', line 11 def initialize(, issue_code = nil) super(, kind, nil, issue_code) end |
Instance Attribute Details
#issue_code ⇒ Object (readonly)
Returns the value of attribute issue_code.
8 9 10 |
# File 'lib/bolt/node/errors.rb', line 8 def issue_code @issue_code end |
Instance Method Details
#kind ⇒ Object
15 16 17 |
# File 'lib/bolt/node/errors.rb', line 15 def kind 'puppetlabs.tasks/node-error' end |