Gem::ErrorReason
An error that indicates we weren't able to fetch some data from a source
The fetch error which is an Exception subclass.
Exception
The source that had the fetch problem.
Creates a new SourceFetchProblem for the given source and error.
SourceFetchProblem
source
error
# File rubygems/errors.rb, line 152 def initialize(source, error) @source = source @error = error end
An English description of the error.
# File rubygems/errors.rb, line 170 def wordy "Unable to download data from #{Gem::Uri.new(@source.uri).redacted} - #{@error.message}" end
This page was generated for Ruby 3.1.0
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with Ruby-doc Rdoc Generator 0.42.0.