Gem::Exception
A FetchError exception wraps up the various possible IO and HTTP failures that could happen while downloading from the internet.
FetchError
IO
The URI which was being accessed when the exception happened.
URI
# File ruby-3.1.2/lib/rubygems/remote_fetcher.rb, line 27 def initialize(message, uri) uri = Gem::Uri.new(uri) super uri.redact_credentials_from(message) @original_uri = uri.to_s @uri = uri.redacted.to_s end
This page was generated for Ruby 3.1.2
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with Ruby-doc Rdoc Generator 0.42.0.