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 HTTPError

#filter_uri

Methods inherited from BundlerError

all_errors, status_code

Constructor Details

#initialize(remote_uri) ⇒ BadAuthenticationError

Returns a new instance of BadAuthenticationError.



59
60
61
62
63
# File 'lib/bundler/fetcher.rb', line 59

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