Exception: Bundler::Fetcher::BadAuthenticationError

Inherits:
HTTPError show all
Defined in:
lib/bundler/fetcher.rb

Overview

This error is raised if HTTP authentication is provided, but incorrect.

Instance Method Summary collapse

Methods inherited from BundlerError

status_code

Constructor Details

#initialize(remote_uri) ⇒ BadAuthenticationError

Returns a new instance of BadAuthenticationError.



47
48
49
50
# File 'lib/bundler/fetcher.rb', line 47

def initialize(remote_uri)
  super "Bad username or password for #{remote_uri}.\n" \
    "Please double-check your credentials and correct them."
end