Class: Gem::SourceFetchProblem
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
ErrorReason
|
|
Instance Chain:
self,
ErrorReason
|
|
Inherits: |
Gem::ErrorReason
|
Defined in: | lib/rubygems/errors.rb |
Overview
An error that indicates we weren’t able to fetch some data from a source
Class Method Summary
- .new(source, error) ⇒ SourceFetchProblem constructor
Instance Attribute Summary
-
#error
(also: #exception)
readonly
The fetch error which is an
Exception
subclass. -
#exception
readonly
The “exception” alias allows you to call raise on a
SourceFetchProblem
. -
#source
readonly
The source that had the fetch problem.
Instance Method Summary
-
#wordy
An English description of the error.
Constructor Details
.new(source, error) ⇒ SourceFetchProblem
[ GitHub ]
Instance Attribute Details
#error (readonly) Also known as: #exception
The fetch error which is an Exception
subclass.
# File 'lib/rubygems/errors.rb', line 168
attr_reader :error
#exception (readonly)
The “exception” alias allows you to call raise on a SourceFetchProblem
.
# File 'lib/rubygems/errors.rb', line 180
alias exception error
#source (readonly)
The source that had the fetch problem.
# File 'lib/rubygems/errors.rb', line 163
attr_reader :source
Instance Method Details
#wordy
An English description of the error.