Exception: TapFormulaUnavailableError Private
- Inherits:
-
FormulaUnavailableError
- Object
- RuntimeError
- FormulaOrCaskUnavailableError
- FormulaUnavailableError
- TapFormulaUnavailableError
- 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 when a formula in a specific tap is unavailable.
Direct Known Subclasses
Instance Attribute Summary collapse
- #repository ⇒ String readonly private
- #tap ⇒ Tap readonly private
- #user ⇒ String readonly private
Attributes inherited from FormulaUnavailableError
Attributes inherited from FormulaOrCaskUnavailableError
Instance Method Summary collapse
- #initialize(tap, name) ⇒ void constructor private
Methods inherited from FormulaUnavailableError
Methods inherited from FormulaOrCaskUnavailableError
Constructor Details
#initialize(tap, name) ⇒ 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.
306 307 308 309 310 311 |
# File 'exceptions.rb', line 306 def initialize(tap, name) @tap = tap @user = T.let(tap.user, String) @repository = T.let(tap.repository, String) super "#{tap}/#{name}" end |
Instance Attribute Details
#repository ⇒ String (readonly)
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.
303 304 305 |
# File 'exceptions.rb', line 303 def repository @repository end |
#tap ⇒ Tap (readonly)
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.
297 298 299 |
# File 'exceptions.rb', line 297 def tap @tap end |
#user ⇒ String (readonly)
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.
300 301 302 |
# File 'exceptions.rb', line 300 def user @user end |