Exception: Bundler::CompactIndexClient::Updater::MisMatchedChecksumError
- Inherits:
-
Error
- Object
- StandardError
- Error
- Bundler::CompactIndexClient::Updater::MisMatchedChecksumError
- Defined in:
- lib/bundler/vendor/compact_index_client/lib/compact_index_client/updater.rb
Instance Method Summary collapse
-
#initialize(path, server_checksum, local_checksum) ⇒ MisMatchedChecksumError
constructor
A new instance of MisMatchedChecksumError.
- #message ⇒ Object
Constructor Details
#initialize(path, server_checksum, local_checksum) ⇒ MisMatchedChecksumError
Returns a new instance of MisMatchedChecksumError.
10 11 12 13 14 |
# File 'lib/bundler/vendor/compact_index_client/lib/compact_index_client/updater.rb', line 10 def initialize(path, server_checksum, local_checksum) @path = path @server_checksum = server_checksum @local_checksum = local_checksum end |
Instance Method Details
#message ⇒ Object
16 17 18 19 |
# File 'lib/bundler/vendor/compact_index_client/lib/compact_index_client/updater.rb', line 16 def "The checksum of /#{@path} does not match the checksum provided by the server! Something is wrong " \ "(local checksum is #{@local_checksum.inspect}, was expecting #{@server_checksum.inspect})." end |