Exception: ChefDK::PolicyfileInstallError
- Inherits:
-
PolicyfileServiceError
- Object
- StandardError
- PolicyfileServiceError
- ChefDK::PolicyfileInstallError
- Defined in:
- lib/chef-dk/exceptions.rb
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
Instance Method Summary collapse
-
#initialize(message, cause) ⇒ PolicyfileInstallError
constructor
A new instance of PolicyfileInstallError.
Constructor Details
#initialize(message, cause) ⇒ PolicyfileInstallError
Returns a new instance of PolicyfileInstallError.
36 37 38 39 |
# File 'lib/chef-dk/exceptions.rb', line 36 def initialize(, cause) super() @cause = cause end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
34 35 36 |
# File 'lib/chef-dk/exceptions.rb', line 34 def cause @cause end |