Spec-Zone.ru › Homebrew

Exception: HomebrewCurlDownloadStrategyError Private

Inherits:
CurlDownloadStrategyError
  • Object
  • RuntimeError
  • CurlDownloadStrategyError
  • HomebrewCurlDownloadStrategyError
show all
Defined in:
exceptions.rb

Overview

This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.

Raised in CurlDownloadStrategy#fetch.

Instance Method Summary collapse

  • #initialize(url) ⇒ void constructor private

Constructor Details

#initialize(url) ⇒ void

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Parameters:

  • url (String)


819
820
821
# File 'exceptions.rb', line 819

def initialize(url)
  super "Homebrew-installed `curl` is not installed for: #{url}"
end

© 2009–present Homebrew contributors
Licensed under the BSD 2-Clause License.
https://docs.brew.sh/rubydoc/HomebrewCurlDownloadStrategyError.html

Spec-Zone.ru

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