Exception: Cask::CaskUnreadableError Private
- Inherits:
-
CaskUnavailableError
- Object
- RuntimeError
- CaskError
- AbstractCaskErrorWithToken
- CaskUnavailableError
- Cask::CaskUnreadableError
- 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 is unreadable.
Instance Attribute Summary
Attributes inherited from AbstractCaskErrorWithToken
Instance Method Summary collapse
-
#to_s ⇒ String
private
Methods inherited from AbstractCaskErrorWithToken
Constructor Details
This class inherits a constructor from Cask::AbstractCaskErrorWithToken
Instance Method Details
#to_s ⇒ String
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.
89 90 91 |
# File 'cask/exceptions.rb', line 89 def to_s "Cask '#{token}' is unreadable#{reason.empty? ? "." : ": #{reason}"}" end |