Gem::Exception
A FetchError exception wraps up the various possible IO and HTTP failures that could happen while downloading from the internet.
FetchError
The URI which was being accessed when the exception happened.
# File rubygems/remote_fetcher.rb, line 28 def initialize(message, uri) super message begin uri = URI(uri) uri.password = 'REDACTED' if uri.password @uri = uri.to_s rescue URI::InvalidURIError, ArgumentError @uri = uri end end
This page was generated for Ruby 2.5.0
Ruby-doc.org is a service of James Britt and Neurogami, purveyors of fine dance noise.
Generated with Ruby-doc Rdoc Generator 0.42.0.