Exception: Hbc::CaskAlreadyCreatedError

Inherits:
AbstractCaskErrorWithToken show all
Defined in:
Library/Homebrew/cask/lib/hbc/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 Hbc::AbstractCaskErrorWithToken

Instance Method Details

#to_sObject



40
41
42
# File 'Library/Homebrew/cask/lib/hbc/exceptions.rb', line 40

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