123456789_123456789_123456789_123456789_123456789_

Exception: Bundler::CompactIndexClient::Updater::MisMatchedChecksumError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: Bundler::CompactIndexClient::Error
Defined in: lib/bundler/compact_index_client/updater.rb

Class Method Summary

Instance Method Summary

Constructor Details

.new(path, server_checksum, local_checksum) ⇒ MisMatchedChecksumError

[ GitHub ]

  
# File 'lib/bundler/compact_index_client/updater.rb', line 9

def initialize(path, server_checksum, local_checksum)
  @path = path
  @server_checksum = server_checksum
  @local_checksum = local_checksum
end

Instance Method Details

#message

[ GitHub ]

  
# File 'lib/bundler/compact_index_client/updater.rb', line 15

def message
  "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