Exception: HomebrewCurlDownloadStrategyError Private
- Inherits:
-
CurlDownloadStrategyError
- Object
- RuntimeError
- CurlDownloadStrategyError
- HomebrewCurlDownloadStrategyError
- 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) ⇒ HomebrewCurlDownloadStrategyError
constructor
private
A new instance of HomebrewCurlDownloadStrategyError.
Constructor Details
#initialize(url) ⇒ HomebrewCurlDownloadStrategyError
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.
Returns a new instance of HomebrewCurlDownloadStrategyError.
649 650 651 |
# File 'exceptions.rb', line 649 def initialize(url) super "Homebrew-installed `curl` is not installed for: #{url}" end |