Exception: Chef::Exceptions::ChecksumMismatch

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

Instance Method Summary collapse

Constructor Details

#initialize(res_cksum, cont_cksum) ⇒ ChecksumMismatch

Returns a new instance of ChecksumMismatch.



424
425
426
# File 'lib/chef/exceptions.rb', line 424

def initialize(res_cksum, cont_cksum)
  super "Checksum on resource (#{res_cksum}) does not match checksum on content (#{cont_cksum})"
end