Spec-Zone.ru › Homebrew

Exception: TapFormulaUnreadableError Private

Inherits:
TapFormulaUnavailableError
  • Object
  • RuntimeError
  • FormulaOrCaskUnavailableError
  • FormulaUnavailableError
  • TapFormulaUnavailableError
  • TapFormulaUnreadableError
show all
Includes:
FormulaUnreadableErrorModule
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 formula in a specific tap is unreadable.

Instance Attribute Summary collapse

  • #formula_error ⇒ Exception readonly private

Attributes inherited from TapFormulaUnavailableError

#repository, #tap, #user

Attributes inherited from FormulaUnavailableError

#dependent

Attributes inherited from FormulaOrCaskUnavailableError

#name

Instance Method Summary collapse

  • #initialize(tap, name, error) ⇒ void constructor private

Methods inherited from FormulaUnavailableError

#dependent_s

Methods inherited from FormulaOrCaskUnavailableError

#did_you_mean

Constructor Details

#initialize(tap, name, error) ⇒ 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:

  • tap (Tap)
  • name (String)
  • error (Exception)


357
358
359
360
361
# File 'exceptions.rb', line 357

def initialize(tap, name, error)
  super(tap, name)
  @formula_error = error
  set_backtrace(error.backtrace)
end

Instance Attribute Details

#formula_error ⇒ Exception (readonly)

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.

Returns:

  • (Exception)


354
355
356
# File 'exceptions.rb', line 354

def formula_error
  @formula_error
end

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

Spec-Zone.ru

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