class Bundler::Fetcher::BadAuthenticationError

Parent:
Bundler::HTTPError

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

Public Class Methods

new(remote_uri) Show source
# File lib/bundler/fetcher.rb, line 52
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
Calls superclass method Exception::new

Ruby Core © 1993–2017 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.