Exception: Bundler::Fetcher::BadAuthenticationError
- Inherits:
-
HTTPError
- Object
- StandardError
- BundlerError
- HTTPError
- Bundler::Fetcher::BadAuthenticationError
- Defined in:
- lib/bundler/fetcher.rb
Overview
This error is raised if HTTP authentication is provided, but incorrect.
Instance Method Summary collapse
-
#initialize(remote_uri) ⇒ BadAuthenticationError
constructor
A new instance of BadAuthenticationError.
Methods inherited from HTTPError
Methods inherited from BundlerError
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 |