Exception: FormulaUnreadableError Private
- Inherits:
-
FormulaUnavailableError
- Object
- RuntimeError
- FormulaOrCaskUnavailableError
- FormulaUnavailableError
- FormulaUnreadableError
- 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 is unreadable.
Instance Attribute Summary collapse
- #formula_error ⇒ Exception readonly private
Attributes inherited from FormulaUnavailableError
Attributes inherited from FormulaOrCaskUnavailableError
Instance Method Summary collapse
- #initialize(name, error) ⇒ void constructor private
Methods inherited from FormulaUnavailableError
Methods inherited from FormulaOrCaskUnavailableError
Constructor Details
#initialize(name, error) ⇒ 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.
287 288 289 290 291 |
# File 'exceptions.rb', line 287 def initialize(name, error) super(name) @formula_error = error set_backtrace(error.backtrace) end |
Instance Attribute Details
#formula_error ⇒ Exception (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.
284 285 286 |
# File 'exceptions.rb', line 284 def formula_error @formula_error end |