Class: Gem::RemoteFetcher::FetchError (Ruby 2.3.4)

In Files

  • rubygems/remote_fetcher.rb

Methods

Class/Module Index [+]

Quicksearch

Gem::RemoteFetcher::FetchError

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

Attributes

uri[RW]

The URI which was being accessed when the exception happened.

Public Class Methods

new(message, uri)
 
               # File rubygems/remote_fetcher.rb, line 28
def initialize(message, uri)
  super message
  @uri = uri
end