Exception: BottleFormulaUnavailableError

Inherits:
RuntimeError
  • Object
show all
Defined in:
Library/Homebrew/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.


615
616
617
618
619
620
621
# File 'Library/Homebrew/exceptions.rb', line 615

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