class Gem::RemoteFetcher::FetchError
一个 FetchError 异常封装了从互联网下载时可能发生的各种 IO 和 HTTP 故障。
属性
异常发生时正在访问的 URI。
Public Class Methods
Source
# File lib/rubygems/remote_fetcher.rb, line 28 def initialize(message, uri) uri = Gem::Uri.new(uri) super uri.redact_credentials_from(message) @original_uri = uri.to_s @uri = uri.redacted.to_s end
调用超类方法
Exception::new