Exception: Cask::CaskAlreadyCreatedError

Inherits:
AbstractCaskErrorWithToken show all
Defined in:
brew/Library/Homebrew/cask/exceptions.rb

Instance Attribute Summary

Attributes inherited from AbstractCaskErrorWithToken

#reason, #token

Instance Method Summary collapse

Methods inherited from AbstractCaskErrorWithToken

#initialize

Constructor Details

This class inherits a constructor from Cask::AbstractCaskErrorWithToken

Instance Method Details

#to_sObject



61
62
63
# File 'brew/Library/Homebrew/cask/exceptions.rb', line 61

def to_s
  %Q(Cask '#{token}' already exists. Run #{Formatter.identifier("brew cask edit #{token}")} to edit it.)
end