Exception: FormulaUnavailableError
- Inherits:
-
FormulaOrCaskUnavailableError
- Object
- RuntimeError
- FormulaOrCaskUnavailableError
- FormulaUnavailableError
- Defined in:
- exceptions.rb
Overview
This class is part of an internal API. This class may only be used internally in repositories owned by Homebrew, except in casks or formulae. Third parties should avoid using this class if possible, as it may be removed or changed without warning.
Raised when a formula is not available.
Direct Known Subclasses
FormulaClassUnavailableError, FormulaUnreadableError, TapFormulaUnavailableError
Instance Attribute Summary collapse
- #dependent ⇒ Object internal
Attributes inherited from FormulaOrCaskUnavailableError
Instance Method Summary collapse
- #dependent_s ⇒ String? private
Methods inherited from FormulaOrCaskUnavailableError
Constructor Details
This class inherits a constructor from FormulaOrCaskUnavailableError
Instance Attribute Details
#dependent ⇒ Object
This method is part of an internal API. This method may only be used internally in repositories owned by Homebrew, except in casks or formulae. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
142 143 144 |
# File 'exceptions.rb', line 142 def dependent @dependent end |
Instance Method Details
#dependent_s ⇒ String?
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.
145 146 147 |
# File 'exceptions.rb', line 145 def dependent_s " (dependency of #{dependent})" if dependent && dependent != name end |