Exception: FormulaUnreadableError

Inherits:
FormulaUnavailableError show all
Includes:
FormulaUnreadableErrorModule
Defined in:
Library/Homebrew/exceptions.rb

Overview

Raised when a formula is unreadable.

Instance Attribute Summary

Attributes included from FormulaUnreadableErrorModule

#formula_error

Attributes inherited from FormulaUnavailableError

#dependent, #name

Instance Method Summary collapse

Methods included from FormulaUnreadableErrorModule

#to_s

Methods inherited from FormulaUnavailableError

#dependent_s, #to_s

Constructor Details

#initialize(name, error) ⇒ FormulaUnreadableError

Returns a new instance of FormulaUnreadableError.


149
150
151
152
# File 'Library/Homebrew/exceptions.rb', line 149

def initialize(name, error)
  super(name)
  @formula_error = error
end