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.



462
463
464
# File 'lib/chef/exceptions.rb', line 462

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