Exception: ChefDK::PolicyfilePushError
- Inherits:
-
PolicyfileServiceError
- Object
- StandardError
- PolicyfileServiceError
- ChefDK::PolicyfilePushError
- 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) ⇒ PolicyfilePushError
constructor
A new instance of PolicyfilePushError.
Constructor Details
#initialize(message, cause) ⇒ PolicyfilePushError
Returns a new instance of PolicyfilePushError.
47 48 49 50 |
# File 'lib/chef-dk/exceptions.rb', line 47 def initialize(, cause) super() @cause = cause end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
45 46 47 |
# File 'lib/chef-dk/exceptions.rb', line 45 def cause @cause end |