Exception: TapFormulaUnreadableError Private
- Inherits:
-
TapFormulaUnavailableError
- Object
- RuntimeError
- FormulaOrCaskUnavailableError
- FormulaUnavailableError
- TapFormulaUnavailableError
- TapFormulaUnreadableError
- Includes:
- FormulaUnreadableErrorModule
- 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 unreadable.
Instance Attribute Summary
Attributes included from FormulaUnreadableErrorModule
Attributes inherited from TapFormulaUnavailableError
Attributes inherited from FormulaUnavailableError
Attributes inherited from FormulaOrCaskUnavailableError
Instance Method Summary collapse
-
#initialize(tap, name, error) ⇒ TapFormulaUnreadableError
constructor
private
A new instance of TapFormulaUnreadableError.
Methods inherited from FormulaUnavailableError
Methods inherited from FormulaOrCaskUnavailableError
Constructor Details
#initialize(tap, name, error) ⇒ TapFormulaUnreadableError
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 TapFormulaUnreadableError.
256 257 258 259 260 |
# File 'exceptions.rb', line 256 def initialize(tap, name, error) super(tap, name) @formula_error = error set_backtrace(error.backtrace) end |