Exception: ChefDK::ChefRunnerError
- Inherits:
-
StandardError
- Object
- StandardError
- ChefDK::ChefRunnerError
- Defined in:
- lib/chef-dk/exceptions.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
Instance Method Summary collapse
-
#initialize(message, cause) ⇒ ChefRunnerError
constructor
A new instance of ChefRunnerError.
Constructor Details
#initialize(message, cause) ⇒ ChefRunnerError
Returns a new instance of ChefRunnerError.
75 76 77 78 |
# File 'lib/chef-dk/exceptions.rb', line 75 def initialize(, cause) super() @cause = cause end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
73 74 75 |
# File 'lib/chef-dk/exceptions.rb', line 73 def cause @cause end |