A FetchError
exception wraps up the various possible IO
and HTTP failures that could happen while downloading from the internet.
Attributes
Class Methods
lib/rubygems/remote_fetcher.rb
View on GitHub
# File tmp/rubies/ruby-2.7.6/lib/rubygems/remote_fetcher.rb, line 36
def initialize(message, uri)
super message
uri = parse_uri(uri)
uri.password = 'REDACTED' if uri.respond_to?(:password) && uri.password
@uri = uri.to_s
end
No documentation available