Exception: Gem::RemoteFetcher::FetchError
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Subclasses:
|
|
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
::Gem::Exception,
RuntimeError
|
|
Instance Chain:
self,
::Gem::Exception,
RuntimeError
|
|
Inherits: |
Gem::Exception
|
Defined in: | lib/rubygems/remote_fetcher.rb |
Overview
A FetchError exception wraps up the various possible IO and HTTP failures that could happen while downloading from the internet.
Class Method Summary
- .new(message, uri) ⇒ FetchError constructor
Instance Attribute Summary
-
#uri
rw
The URI which was being accessed when the exception happened.
::Gem::Exception - Inherited
Instance Method Summary
- #to_s Internal use only
Constructor Details
.new(message, uri) ⇒ FetchError
Instance Attribute Details
#uri (rw)
The URI which was being accessed when the exception happened.
# File 'lib/rubygems/remote_fetcher.rb', line 26
attr_accessor :uri
Instance Method Details
#to_s
This method is for internal use only.
[ GitHub ]
# File 'lib/rubygems/remote_fetcher.rb', line 39
def to_s # :nodoc: "#{super} (#{uri})" end