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.



711
712
713
714
715
716
717
# File 'exceptions.rb', line 711

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