Exception: BottleFormulaUnavailableError

Inherits:
RuntimeError
  • Object
show all
Defined in:
exceptions.rb

Overview

Raised when a bottle does not contain a formula file.

Instance Method Summary collapse

Constructor Details

#initialize(bottle_path, formula_path) ⇒ BottleFormulaUnavailableError

Returns a new instance of BottleFormulaUnavailableError.



748
749
750
751
752
753
754
# File 'exceptions.rb', line 748

def initialize(bottle_path, formula_path)
  super <<~EOS
    This bottle does not contain the formula file:
      #{bottle_path}
      #{formula_path}
  EOS
end