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.



696
697
698
699
700
701
702
# File 'exceptions.rb', line 696

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