Exception: Cask::CaskConflictError Private
- Inherits:
 - 
      AbstractCaskErrorWithToken
      
        
- Object
 - RuntimeError
 - CaskError
 - AbstractCaskErrorWithToken
 - Cask::CaskConflictError
 
 
- Defined in:
 - cask/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.
Error when a cask conflicts with another cask.
Instance Attribute Summary collapse
- #conflicting_cask ⇒ Object readonly private
 
Attributes inherited from AbstractCaskErrorWithToken
Instance Method Summary collapse
- 
  
    
      #initialize(token, conflicting_cask)  ⇒ CaskConflictError 
    
    
  
  
  
    constructor
  
  
  
  
  
  private
  
    
A new instance of CaskConflictError.
 
Constructor Details
#initialize(token, conflicting_cask) ⇒ CaskConflictError
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 CaskConflictError.
      68 69 70 71  | 
    
      # File 'cask/exceptions.rb', line 68 def initialize(token, conflicting_cask) super(token) @conflicting_cask = conflicting_cask end  | 
  
Instance Attribute Details
#conflicting_cask ⇒ 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.
      66 67 68  | 
    
      # File 'cask/exceptions.rb', line 66 def conflicting_cask @conflicting_cask end  |