Exception: Chef::Exceptions::AuditsFailed

Inherits:
AuditError
  • Object
show all
Defined in:
lib/chef/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(num_failed, num_total) ⇒ AuditsFailed

Returns a new instance of AuditsFailed


459
460
461
# File 'lib/chef/exceptions.rb', line 459

def initialize(num_failed, num_total)
  super "Audit phase found failures - #{num_failed}/#{num_total} controls failed"
end