Exception: TapFormulaOrCaskUnavailableError Private

Inherits:
FormulaOrCaskUnavailableError 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 formula or cask in a specific tap is not available.

Instance Attribute Summary collapse

Attributes inherited from FormulaOrCaskUnavailableError

#name

Instance Method Summary collapse

Methods inherited from FormulaOrCaskUnavailableError

#did_you_mean

Constructor Details

#initialize(tap, name) ⇒ TapFormulaOrCaskUnavailableError

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 a new instance of TapFormulaOrCaskUnavailableError.



125
126
127
128
# File 'exceptions.rb', line 125

def initialize(tap, name)
  super "#{tap}/#{name}"
  @tap = tap
end

Instance Attribute Details

#tapObject (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.



123
124
125
# File 'exceptions.rb', line 123

def tap
  @tap
end