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

Attributes inherited from FormulaOrCaskUnavailableError

#name

Instance Method Summary collapse

Methods included from FormulaUnreadableErrorModule

#to_s

Methods inherited from FormulaUnavailableError

#dependent_s, #to_s

Methods inherited from FormulaOrCaskUnavailableError

#to_s

Constructor Details

#initialize(name, error) ⇒ FormulaUnreadableError

Returns a new instance of FormulaUnreadableError.


165
166
167
168
# File 'Library/Homebrew/exceptions.rb', line 165

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