Exception: Cask::CaskCannotBeInstalledError Private
- Inherits:
 - 
      AbstractCaskErrorWithToken
      
        
- Object
 - RuntimeError
 - CaskError
 - AbstractCaskErrorWithToken
 - Cask::CaskCannotBeInstalledError
 
 
- 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 cannot be installed.
Instance Attribute Summary collapse
- #message ⇒ Object readonly private
 
Attributes inherited from AbstractCaskErrorWithToken
Instance Method Summary collapse
- 
  
    
      #initialize(token, message)  ⇒ CaskCannotBeInstalledError 
    
    
  
  
  
    constructor
  
  
  
  
  
  private
  
    
A new instance of CaskCannotBeInstalledError.
 
Constructor Details
#initialize(token, message) ⇒ CaskCannotBeInstalledError
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 CaskCannotBeInstalledError.
      53 54 55 56  | 
    
      # File 'cask/exceptions.rb', line 53 def initialize(token, ) super(token) @message = end  | 
  
Instance Attribute Details
#message ⇒ 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.
      51 52 53  | 
    
      # File 'cask/exceptions.rb', line 51 def @message end  |