Spec-Zone.ru › Ruby 2.7

класс Bundler::Fetcher::CertificateFailureError

Родитель:
Bundler::HTTPError

Это исключение возникает, если OpenSSL не проходит проверку сертификата

Открытые методы класса

new(remote_uri) Показать исходный код
# File lib/bundler/fetcher.rb, line 25
def initialize(remote_uri)
  remote_uri = filter_uri(remote_uri)
  super "Could not verify the SSL certificate for #{remote_uri}.\nThere" \
    " is a chance you are experiencing a man-in-the-middle attack, but" \
    " most likely your system doesn't have the CA certificates needed" \
    " for verification. For information about OpenSSL certificates, see" \
    " http://bit.ly/ruby-ssl. To connect without using SSL, edit your Gemfile" \
    " sources and change 'https' to 'http'."
end
Вызывает метод родительского класса Exception::new

Ruby Core © 1993–2017 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API