Exception: ChefDK::PolicyfileInstallError

Inherits:
PolicyfileServiceError show all
Defined in:
lib/chef-dk/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message, cause)
  super(message)
  @cause = cause
end

Instance Attribute Details

#causeObject (readonly)

Returns the value of attribute cause.



34
35
36
# File 'lib/chef-dk/exceptions.rb', line 34

def cause
  @cause
end