Exception: ChefCore::MultiJobFailure

Inherits:
Error
  • Object
show all
Defined in:
lib/chef_core/error.rb

Instance Attribute Summary collapse

Attributes inherited from Error

#id, #params

Instance Method Summary collapse

Constructor Details

#initialize(jobs) ⇒ MultiJobFailure

Returns a new instance of MultiJobFailure.



38
39
40
41
# File 'lib/chef_core/error.rb', line 38

def initialize(jobs)
  super("CHEFMULTI001")
  @jobs = jobs
end

Instance Attribute Details

#jobsObject (readonly)

Returns the value of attribute jobs.



37
38
39
# File 'lib/chef_core/error.rb', line 37

def jobs
  @jobs
end