Spec-Zone.ru › Homebrew

Exception: BottleFormulaUnavailableError Private

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

Overview

This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.

Raised when a bottle does not contain a formula file.

Instance Method Summary collapse

  • #initialize(bottle_path, formula_path) ⇒ void constructor private

Constructor Details

#initialize(bottle_path, formula_path) ⇒ void

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Parameters:

  • bottle_path (Pathname, String)
  • formula_path (Pathname, String)


987
988
989
990
991
992
993
# File 'exceptions.rb', line 987

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

© 2009–present Homebrew contributors
Licensed under the BSD 2-Clause License.
https://docs.brew.sh/rubydoc/BottleFormulaUnavailableError.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API