1. Gem::
  2. SourceFetchProblem

class Gem::SourceFetchProblem

An error that indicates we weren’t able to fetch some data from a source

Attributes

error[R]

The fetch error which is anException subclass.

exception[R]

The fetch error which is anException subclass.

source[R]

The source that had the fetch problem.

Public Class Methods

Source
# File lib/rubygems/errors.rb, line 150definitialize(source,error)@source =source@error =errorend

Creates a newSourceFetchProblem for the givensource anderror.

Public Instance Methods

Source
# File lib/rubygems/errors.rb, line 168defwordy"Unable to download data from #{Gem::Uri.redact(@source.uri)} - #{@error.message}"end

AnEnglish description of the error.