class Gem::RemoteFetcher::FetchError

A FetchError exception wraps up the various possible IO and HTTP failures that could happen while downloading from the internet.



The URI which was being accessed when the exception happened.

Public Class Methods

new(message, uri) click to toggle source
Calls superclass method
# File 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