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.
The source that had the fetch problem.
Creates a new SourceFetchProblem for the given source and error.
source
error
# File rubygems/errors.rb, line 156 def initialize(source, error) @source = source @error = error end
An English description of the error.
# File rubygems/errors.rb, line 174 def wordy @source.uri.password = 'REDACTED' unless @source.uri.password.nil? "Unable to download data from #{@source.uri} - #{@error.message}" end
This page was generated for Ruby 2.6.3
Ruby-doc.org is a service of James Britt and Neurogami, an erratic source of art, music, and technology.
Generated with Ruby-doc Rdoc Generator 0.42.0.