diff options
Diffstat (limited to 'lib/rubygems/errors.rb')
-rw-r--r-- | lib/rubygems/errors.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rubygems/errors.rb b/lib/rubygems/errors.rb index e296ef3127..4a92011e8b 100644 --- a/lib/rubygems/errors.rb +++ b/lib/rubygems/errors.rb @@ -85,5 +85,10 @@ module Gem def wordy "Unable to download data from #{@source.uri} - #{@error.message}" end + + ## + # The "exception" alias allows you to call raise on a SourceFetchProblem. + + alias exception error end end |