Exception: Gcloud::Storage::FileVerificationError

Inherits:
Error
  • Object
show all
Defined in:
lib/gcloud/storage/errors.rb

Overview

FileVerificationError

Raised when a File download fails the verification.

Instance Attribute Summary collapse

Instance Attribute Details

#gcloud_digestObject

The value of the digest on the Gcloud file.


66
67
68
# File 'lib/gcloud/storage/errors.rb', line 66

def gcloud_digest
  @gcloud_digest
end

#local_digestObject

The value of the digest on the downloaded file.


70
71
72
# File 'lib/gcloud/storage/errors.rb', line 70

def local_digest
  @local_digest
end

#typeObject

The type of digest that failed verification, :md5 or :crc32c.


62
63
64
# File 'lib/gcloud/storage/errors.rb', line 62

def type
  @type
end