Exception: TapFormulaUnavailableError Private
- Inherits:
 - 
      FormulaUnavailableError
      
        
- Object
 - RuntimeError
 - FormulaOrCaskUnavailableError
 - FormulaUnavailableError
 - TapFormulaUnavailableError
 
 
- 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.
Direct Known Subclasses
Instance Attribute Summary collapse
- #repository ⇒ Object readonly private
 - #tap ⇒ Object readonly private
 - #user ⇒ Object readonly private
 
Attributes inherited from FormulaUnavailableError
Attributes inherited from FormulaOrCaskUnavailableError
Instance Method Summary collapse
- 
  
    
      #initialize(tap, name)  ⇒ TapFormulaUnavailableError 
    
    
  
  
  
    constructor
  
  
  
  
  
  private
  
    
A new instance of TapFormulaUnavailableError.
 
Methods inherited from FormulaUnavailableError
Methods inherited from FormulaOrCaskUnavailableError
Constructor Details
#initialize(tap, name) ⇒ TapFormulaUnavailableError
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 TapFormulaUnavailableError.
      229 230 231 232 233 234  | 
    
      # File 'exceptions.rb', line 229 def initialize(tap, name) @tap = tap @user = tap.user @repository = tap.repository super "#{tap}/#{name}" end  | 
  
Instance Attribute Details
#repository ⇒ Object (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.
      227 228 229  | 
    
      # File 'exceptions.rb', line 227 def repository @repository end  | 
  
#tap ⇒ Object (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.
      227 228 229  | 
    
      # File 'exceptions.rb', line 227 def tap @tap end  | 
  
#user ⇒ Object (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.
      227 228 229  | 
    
      # File 'exceptions.rb', line 227 def user @user end  |