Exception: EC2::Common::HTTP::Error::BadDigest

Inherits:
EC2::Common::HTTP::Error show all
Defined in:
lib/ec2/common/http.rb

Instance Attribute Summary

Attributes inherited from EC2::Common::HTTP::Error

#code

Instance Method Summary collapse

Constructor Details

#initialize(file, expected, obtained) ⇒ BadDigest

Returns a new instance of BadDigest.



53
54
55
# File 'lib/ec2/common/http.rb', line 53

def initialize(file, expected, obtained)
  super("Digest for file '#{file}' #{obtained} differs from expected digest #{digest}")
end