class Gem::RemoteFetcher::FetchError
FetchError
异常封装了从互联网下载时可能发生的各种 IO
和 HTTP 故障。
属性
当发生异常时正在访问的 URI
。
公共类方法
源代码
# 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