Exception: MotherBrain::ChefRunFailure

Inherits:
MBError
  • Object
show all
Defined in:
lib/mb/errors.rb

Constant Summary

Constants inherited from MBError

MBError::DEFAULT_EXIT_CODE

Instance Method Summary collapse

Methods inherited from MBError

#error_code, error_code, exit_code, #exit_code, #message, #to_hash, #to_json, #to_s

Constructor Details

#initialize(errors) ⇒ ChefRunFailure

Returns a new instance of ChefRunFailure.



425
426
427
# File 'lib/mb/errors.rb', line 425

def initialize(errors)
  @errors = errors
end