Exception: TapFormulaUnavailableError Private

Inherits:
FormulaUnavailableError 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 in a specific tap is unavailable.

Instance Attribute Summary collapse

Attributes inherited from FormulaUnavailableError

#dependent

Attributes inherited from FormulaOrCaskUnavailableError

#name

Instance Method Summary collapse

Methods inherited from FormulaUnavailableError

#dependent_s

Methods inherited from FormulaOrCaskUnavailableError

#did_you_mean

Constructor Details

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



306
307
308
309
310
311
# File 'exceptions.rb', line 306

def initialize(tap, name)
  @tap = tap
  @user = T.let(tap.user, String)
  @repository = T.let(tap.repository, String)
  super "#{tap}/#{name}"
end

Instance Attribute Details

#repositoryString (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:



303
304
305
# File 'exceptions.rb', line 303

def repository
  @repository
end

#tapTap (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:



297
298
299
# File 'exceptions.rb', line 297

def tap
  @tap
end

#userString (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:



300
301
302
# File 'exceptions.rb', line 300

def user
  @user
end