Spec-Zone.ru › Ruby 2.7

класс Bundler::Fetcher::AuthenticationRequiredError

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

Это исключение генерируется, если требуется HTTP-аутентификация, но она не предоставлена.

Публичные методы класса

new(remote_uri) Показать исходный код
# File lib/bundler/fetcher.rb, line 46
def initialize(remote_uri)
  remote_uri = filter_uri(remote_uri)
  super "Authentication is required for #{remote_uri}.\n" \
    "Please supply credentials for this source. You can do this by running:\n" \
    " bundle config set #{remote_uri} username:password"
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